Re: Errors creating GdkPixbuf



On Sun, 2010-09-05 at 15:10 +0100, Andrew Wood wrote:
Im getting errors when trying to create a GdkPixbuf using:

GdkPixbuf* unviewedicon = 
gdk_pixbuf_new_from_file("/home/andrew/txe2mdr/unviewedicon.png", NULL);

When it runs it spews out:

(process:2153): GLib-GObject-CRITICAL **: 
/build/buildd/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call 
g_type_init()

you should read the warning...

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]