diff options
author | Cody Russell <bratsche@src.gnome.org> | 1999-11-02 23:59:03 +0000 |
---|---|---|
committer | Cody Russell <bratsche@src.gnome.org> | 1999-11-02 23:59:03 +0000 |
commit | 07c656cdf1007aa4f74bae7bde84401a603215c0 (patch) | |
tree | b59637195f966a1ab65b0017ec2c7e386238243b /gdk/gdkpixbuf-drawable.c | |
parent | 53d5c49dbbf3dab356fae1a9fc297ca4cc689a9d (diff) | |
download | gtk+-07c656cdf1007aa4f74bae7bde84401a603215c0.tar.gz |
src/gdk-pixbuf-drawable.c (gdk_pibxuf_from_drawable_core): Now calls
gdk_pixbuf_new_from_art_pixbuf() instead of gdk_pixbuf_new().
Diffstat (limited to 'gdk/gdkpixbuf-drawable.c')
-rw-r--r-- | gdk/gdkpixbuf-drawable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c index 73e02365bd..dbbd6f18b1 100644 --- a/gdk/gdkpixbuf-drawable.c +++ b/gdk/gdkpixbuf-drawable.c @@ -131,7 +131,7 @@ gdk_pixbuf_from_drawable_core (GdkWindow *window, gint x, gint y, gint width, gi art_pixbuf = with_alpha ? art_pixbuf_new_rgba (buff, width, height, rowstride) : art_pixbuf_new_rgb (buff, width, height, rowstride); - return gdk_pixbuf_new(art_pixbuf, NULL); + return gdk_pixbuf_new_from_art_pixbuf(art_pixbuf); } /* Public functions */ |