Re: GObject: Freeing memory of instance members?



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.

Yeti

--
http://gwyddion.net/



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