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 **
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.
__
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