Re: GObject: Freeing memory of instance members?
- From: "Alexandre Moreira" <alexandream gmail com>
- To: gtk-list gnome org
- Subject: Re: GObject: Freeing memory of instance members?
- Date: Thu, 3 May 2007 20:03:15 -0300
On 5/3/07, David Nečas (Yeti) <yeti physics muni cz> wrote:
On Thu, May 03, 2007 at 10:40:17PM +0200, ??ystein Johansen wrote:
>
> Aha, but how/where to I set the pointer to the finalize() function?
In my_class_init() where you override all other methods.
See (almost) any Gtk+ widget for examples.
Hey Yeti, since you're on the subject of object destruction, could you
explain me the difference between the finalize and dispose methods ? I
use finalize for everything but I believe I should be using dispose
somewhere, it wouldn't exist if it were useless...I guess :)
Thanks,
Alexandre Moreira.
Yeti
--
http://gwyddion.net/
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]