Re: GObject: Freeing memory of instance members?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/3/07, David Nečas (Yeti) <yeti@xxxxxxxxxxxxxxx> 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@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux