Re: Correct way to free a pixbuf
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: Correct way to free a pixbuf
- Date: Fri, 30 Jun 2006 12:45:02 +0200
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]