From a44d2e2e2c7a7db645553f198c4e118b71c40bde Mon Sep 17 00:00:00 2001 From: Michael Zucchi Date: Thu, 9 Dec 1999 02:27:38 +0000 Subject: [PATCH] Enable gdk_pixbuf_get_from_drawable() api call. 1999-12-09 Michael Zucchi * gdk-pixbuf/gdk-pixbuf.h: Enable gdk_pixbuf_get_from_drawable() api call. --- gdk-pixbuf/ChangeLog | 3 +++ gdk-pixbuf/gdk-pixbuf.h | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index e9a1e76967..295def3902 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,5 +1,8 @@ 1999-12-09 Michael Zucchi + * gdk-pixbuf/gdk-pixbuf.h: Enable gdk_pixbuf_get_from_drawable() + api call. + * gdk-pixbuf/gdk-pixbuf-drawable.c (gdk_pixbuf_get_from_drawable): Filled in body of function. (rgbconvert): Added GdkColormap parameter, and to all conversion diff --git a/gdk-pixbuf/gdk-pixbuf.h b/gdk-pixbuf/gdk-pixbuf.h index 920ecf6ed7..2fd812883b 100644 --- a/gdk-pixbuf/gdk-pixbuf.h +++ b/gdk-pixbuf/gdk-pixbuf.h @@ -119,18 +119,12 @@ void gdk_pixbuf_render_to_drawable_alpha (GdkPixbuf *pixbuf, GdkDrawable *drawab int x_dither, int y_dither); -#if 0 - /* Fetching a region from a drawable */ - GdkPixbuf *gdk_pixbuf_get_from_drawable (GdkPixbuf *dest, GdkDrawable *src, GdkColormap *cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height); - -#endif - #ifdef __cplusplus