Re: Convert png inline into a gdk-pixbuf?



On Thu, Jul 09, 2009 at 10:56:44AM +0200, Till Harbaum wrote:
one more question, please. Regarding your "clean-up". If i want to
continue to use the pixbuf but not the loader i do:

                    g_object_ref(pixbuf);
                    g_object_unref(loader);

Does this look good to you?

This should be correct, IIRC the pixbuf is owned by the loader.

Yeti




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