gdk_pixbuf_composite_color_simple() can return NULL...
- From: muppet <scott asofyet org>
- To: gtk-perl mailing list <gtk-perl-list gnome org>
- Subject: gdk_pixbuf_composite_color_simple() can return NULL...
- Date: Sun, 13 Nov 2005 13:59:22 -0500
gdk_pixbuf_composite_color_simple() can return NULL when
gdk_pixbuf_new() fails. gdk_pixbuf_new() can fail when the system
can't allocate enough memory for the image data.
Currently, both functions are bound with the return type
GdkPixbuf_noinc*, which will croak with a message to the effect of
"NULL is not a valid GObject." Is this expected behavior? Should we
just leave that alone, do something special to give those functions
an appropriate exception, or just use GdkPixbuf_noinc_ornull* and
allow those functions to return undef to the caller without an
explanation?
--
However, like all drugs, PANEXA can produce some notable side
effects, all of which are probably really, really terrific and
nothing that anyone should be concerned about, let alone notify any
medical regulatory commission about.
-- http://www.panexa.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]