diff options
Diffstat (limited to 'karbon/render/xrgbrender/gdk-pixbuf-xlib-render.c')
| -rw-r--r-- | karbon/render/xrgbrender/gdk-pixbuf-xlib-render.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/karbon/render/xrgbrender/gdk-pixbuf-xlib-render.c b/karbon/render/xrgbrender/gdk-pixbuf-xlib-render.c index f8f890e32..be1a839c6 100644 --- a/karbon/render/xrgbrender/gdk-pixbuf-xlib-render.c +++ b/karbon/render/xrgbrender/gdk-pixbuf-xlib-render.c @@ -320,23 +320,23 @@ gdk_pixbuf_xlib_render_to_drawable_alpha (GdkPixbuf *pixbuf, Drawable drawable, * @pixbuf: A pixbuf. * @pixmap_return: Return value for the created pixmap. - * @tqmask_return: Return value for the created tqmask. + * @mask_return: Return value for the created tqmask. * @alpha_threshold: Threshold value for opacity values. * * Creates a pixmap and a tqmask bitmap which are returned in the @pixmap_return - * and @tqmask_return arguments, respectively, and renders a pixbuf and its + * and @mask_return arguments, respectively, and renders a pixbuf and its * corresponding tresholded alpha tqmask to them. This is merely a convenience * function; applications that need to render pixbufs with dither offsets or to * given drawables should use gdk_pixbuf_xlib_render_to_drawable_alpha() or * gdk_pixbuf_xlib_render_to_drawable(), and * gdk_pixbuf_xlib_render_threshold_alpha(). * - * If the pixbuf does not have an alpha channel, then *@tqmask_return will be set + * If the pixbuf does not have an alpha channel, then *@mask_return will be set * to None. void gdk_pixbuf_xlib_render_pixmap_and_tqmask (GdkPixbuf *pixbuf, Pixmap *pixmap_return, - Pixmap *tqmask_return, + Pixmap *mask_return, int alpha_threshold) { g_return_if_fail (pixbuf != NULL); @@ -361,20 +361,20 @@ gdk_pixbuf_xlib_render_pixmap_and_tqmask (GdkPixbuf *pixbuf, XFreeGC (gdk_pixbuf_dpy, gc); } - if (tqmask_return) { + if (mask_return) { if (pixbuf->has_alpha) { - *tqmask_return = XCreatePixmap (gdk_pixbuf_dpy, + *mask_return = XCreatePixmap (gdk_pixbuf_dpy, RootWindow (gdk_pixbuf_dpy, gdk_pixbuf_screen), pixbuf->width, pixbuf->height, 1); gdk_pixbuf_xlib_render_threshold_alpha (pixbuf, - *tqmask_return, + *mask_return, 0, 0, 0, 0, pixbuf->width, pixbuf->height, alpha_threshold); } else - *tqmask_return = 0; + *mask_return = 0; } }*/ |
