summaryrefslogtreecommitdiff
path: root/gdk/gdkpixbuf.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-09-07 22:33:09 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-09-07 22:33:09 +0000
commita3914aaf10c84a7c6e3e3ca6537af4af09892f06 (patch)
treecc7785505cc14cd8d4fb248ab112e5f30e8c2055 /gdk/gdkpixbuf.h
parente8648181eddfc2e9069631fd5a7083fe015f3605 (diff)
downloadgtk+-a3914aaf10c84a7c6e3e3ca6537af4af09892f06.tar.gz
Deprecate gdk_set/get_use_xshm, make gdk_set_use_xshm a noop. Remove
Fri Sep 7 18:17:47 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdk.h gdk/x11/gdkmain-x11.c: Deprecate gdk_set/get_use_xshm, make gdk_set_use_xshm a noop. Remove --no-xshm command line option. If we aren't autodetecting properly, we need to fix the problem, or at least make it an environment variable setting, to avoid problems with propagating to embedded children, plugins, etc. * gdk/gdkcolor.h: Deprecate gdk_colormap_get_system_size(). * gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h (gdk_pixbuf_render_pixmap_and_mask_for_colormap): New function to render a pixmap and mask for a particular colormap. * gtk/gtkwindow.c (get_pixmap_and_mask): Change to use gdk_pixbuf_render_pixmap_and_mask_for_colormap () instead of internal implementation of the same.
Diffstat (limited to 'gdk/gdkpixbuf.h')
-rw-r--r--gdk/gdkpixbuf.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/gdk/gdkpixbuf.h b/gdk/gdkpixbuf.h
index 593d4ad450..3298ad8b95 100644
--- a/gdk/gdkpixbuf.h
+++ b/gdk/gdkpixbuf.h
@@ -45,10 +45,17 @@ void gdk_pixbuf_render_to_drawable_alpha (GdkPixbuf *pixbuf,
GdkRgbDither dither,
int x_dither,
int y_dither);
-void gdk_pixbuf_render_pixmap_and_mask (GdkPixbuf *pixbuf,
- GdkPixmap **pixmap_return,
- GdkBitmap **mask_return,
- int alpha_threshold);
+
+void gdk_pixbuf_render_pixmap_and_mask_for_colormap (GdkPixbuf *pixbuf,
+ GdkColormap *colormap,
+ GdkPixmap **pixmap_return,
+ GdkBitmap **mask_return,
+ int alpha_threshold);
+void gdk_pixbuf_render_pixmap_and_mask (GdkPixbuf *pixbuf,
+ GdkPixmap **pixmap_return,
+ GdkBitmap **mask_return,
+ int alpha_threshold);
+
/* Fetching a region from a drawable */
GdkPixbuf *gdk_pixbuf_get_from_drawable (GdkPixbuf *dest,