]> Pileus Git - ~andy/gtk/commit
Added sanity check for width and height being >= 0. Also, do nothing if
authorFederico Mena Quintero <federico@helixcode.com>
Wed, 2 Feb 2000 10:05:57 +0000 (10:05 +0000)
committerArturo Espinosa <unammx@src.gnome.org>
Wed, 2 Feb 2000 10:05:57 +0000 (10:05 +0000)
commite9f75f6bd857671a3387f4cb596a0b3342855cbd
tree05a1490d0429aca1be5a54a074da75095227503c
parent51a0dc303d8c414d86cb0316215192155c628482
Added sanity check for width and height being >= 0. Also, do nothing if

2000-02-03  Federico Mena Quintero  <federico@helixcode.com>

* gdk-pixbuf/gdk-pixbuf-render.c
(gdk_pixbuf_render_threshold_alpha): Added sanity check for width
and height being >= 0.  Also, do nothing if either of them is
zero.  Thanks to Ettore for pointing this out.
(gdk_pixbuf_render_to_drawable): Likewise.
(gdk_pixbuf_render_to_drawable_alpha): Likewise.
gdk-pixbuf/ChangeLog
gdk/gdkpixbuf-render.c