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 | |
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().
-rw-r--r-- | gdk-pixbuf/ChangeLog | 4 | ||||
-rw-r--r-- | gdk/gdkpixbuf-drawable.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index c9e863254a..d7fb974a7b 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,7 @@ +1999-11-02 Cody Russell <bratsche@dfw.net> + * src/gdk-pixbuf-drawable.c (gdk_pixbuf_from_drawable_core): Now + calls gdk_pixbuf_new_from_art_pixbuf() instead of gdk_pixbuf_new(). + 1999-11-02 Jonathan Blandford <jrb@redhat.com> * src/io-gif.c (gif_main_loop): Now progressive gif loading works! 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 */ |