Re: Correct way to free a pixbuf



On Fri, Jun 30, 2006 at 03:35:48AM -0700, 3saul wrote:

How do I free the memory occupied by a pixbuf (or don't I need to)?

Release your reference with g_object_unref().  If nothing
else uses the pixbuf it will be destroyed, but if it is used
by something else it will continue to exist until the other
users release it too.

Yeti


--
Anonyms eat their boogers.



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