diff options
author | Benjamin Otte <otte@redhat.com> | 2010-07-13 02:47:04 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-07-26 16:42:49 +0200 |
commit | ccc26207fe894f2fb887f1e057800a1e8a938fd4 (patch) | |
tree | 7307fe9237bfb9c64d8a9a2794b5a3cb92847d55 | |
parent | b68801f168d9fef8efe1be4fe19ce1118d9ad041 (diff) | |
download | gtk+-ccc26207fe894f2fb887f1e057800a1e8a938fd4.tar.gz |
gdk: Use the system colormap, not the rgb colormap
RGB colormaps are on their way out.
-rw-r--r-- | gdk/gdkpixbuf-render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkpixbuf-render.c b/gdk/gdkpixbuf-render.c index 9e5bea8e5c..1bc63b25b0 100644 --- a/gdk/gdkpixbuf-render.c +++ b/gdk/gdkpixbuf-render.c @@ -150,7 +150,7 @@ gdk_pixbuf_render_threshold_alpha (GdkPixbuf *pixbuf, * given drawables should use gdk_draw_pixbuf() and gdk_pixbuf_render_threshold_alpha(). * * The pixmap that is created is created for the colormap returned - * by gdk_rgb_get_colormap(). You normally will want to instead use + * by gdk_colormap_get_system(). You normally will want to instead use * the actual colormap for a widget, and use * gdk_pixbuf_render_pixmap_and_mask_for_colormap(). * @@ -164,7 +164,7 @@ gdk_pixbuf_render_pixmap_and_mask (GdkPixbuf *pixbuf, int alpha_threshold) { gdk_pixbuf_render_pixmap_and_mask_for_colormap (pixbuf, - gdk_rgb_get_colormap (), + gdk_colormap_get_system (), pixmap_return, mask_return, alpha_threshold); } |