[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: finalize, dispose and destroy
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: gtk-app-devel-list gnome org
- Subject: Re: finalize, dispose and destroy
- Date: Fri, 5 Mar 2004 23:20:42 +0200
Tristan Van Berkom wrote:
> Paul Pogonyshev wrote:
> > Can anyone explain (point to explanation) the difference between these
> > three methods? I.e., when implementing a new widget, where do I put
> > freeing of which resources?
> [snip]
>
> You should be safe with this:
>
> static void
> tea_kettle_finalize (GObject *object)
> {
> [...]
> }
Is that good enough if my widget is a container? And if it holds
some weird references to other widgets (i.e. ones that GtkContainer
implementation cannot detect)?
Paul
P.S. I am subscribed, no need to CC to me.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]