Re: Display XPM Content



On Monday 22 August 2005 21:59, Chris Vine wrote:


GdkPixbuf* pixbuf = gdk_pixbuf_new_from_xpm_data(bitmap);
 ... do stuff ...
g_object_ref(G_OBJECT(pixbuf));

Typo: that should be g_object_unref().

Chris



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