Re: GObject and Gtk+ Finalization
- From: Maciej Stachowiak <mjs eazel com>
- To: Havoc Pennington <hp redhat com>
- Cc: Eric Lemings <eric b lemings lmco com>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: GObject and Gtk+ Finalization
- Date: 23 Sep 2000 21:10:52 -0700
Havoc Pennington <hp redhat com> writes:
> Maciej Stachowiak <mjs eazel com> writes:
> > What would be the correct way to do cleanup of resources used by the
> > object that is compatible with both Gtk 1.2 and Gtk 2.0?
> >
>
> Do all cleanup in the finalize method.
>
Well whoops, pretty much all of Nautilus is doing it wrong.
Another question: what's the right way to be notified of a non-widget
object's destruction that's both Gtk 1.2 and 2.0 compatible? This is
pretty essential for proper factory lifecycle management when using
Bonobo.
- Maciej
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]