[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk
Subject: Re: dispose and finalize
From: Holger Berndt <berndth () gmx ! de>
Date: 2010-01-20 16:44:52
Message-ID: 20100120174452.1cf2f334 () mrm-140 ! e-technik ! uni-ulm ! de
[Download RAW message or body]
On Wed, 20 Jan 2010 18:20:39 +0100 Martin KalbfuĆ wrote:
> So if I have a Garray member, I call g_array_unref in finalize,
> because it isn't a child of GObject. Correct?
Actually, I would decrement the reference count of all reference
counted objects in dispose. Speaking of GObject is probably an
over-simplification. I am not sure if that's strictly required, but it
sounds safer anyways.
Holger
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic