src/gdk-pixbuf-drawable.c (gdk_pibxuf_from_drawable_core): Now calls

gdk_pixbuf_new_from_art_pixbuf() instead of gdk_pixbuf_new().
This commit is contained in:
Cody Russell 1999-11-02 23:59:03 +00:00
parent 53d5c49dbb
commit 07c656cdf1
2 changed files with 5 additions and 1 deletions

View File

@ -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> 1999-11-02 Jonathan Blandford <jrb@redhat.com>
* src/io-gif.c (gif_main_loop): Now progressive gif loading works! * src/io-gif.c (gif_main_loop): Now progressive gif loading works!

View File

@ -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 = with_alpha ? art_pixbuf_new_rgba (buff, width, height, rowstride) :
art_pixbuf_new_rgb (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 */ /* Public functions */