Errors creating GdkPixbuf

2010-09-05 Thread Andrew Wood
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

Re: Errors creating GdkPixbuf

2010-09-05 Thread Florian Müllner
El dom, 05-09-2010 a las 15:10 +0100, Andrew Wood escribió: 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() Make sure to call g_type_init() before using any GObject library.

Re: Errors creating GdkPixbuf

2010-09-05 Thread Emmanuele Bassi
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 **: