gtk-2 bug, inconsistency or simply misunderstanding on my side ?

Olivier Fourdan fourdan at xfce.org
Fri Sep 27 15:26:41 CEST 2002


Hi Owen,

> destroy() does not mean "free", and having destroy() called
> multiple times _will_ happen in some cases in GTK+-2.0. 
> the finalize() method is called exactly once when the
> object is being freed.
> 
> _destroy() means "break existing links between objects". 
> _finalize() means free.

Humm, that's the info I've been missing. Very useful, makes things clear
now.

> [ Filed as http://bugzilla.gnome.org/show_bug.cgi?id=94361 ]

Problem is that I took gtkdial as a starting point when I wrote my clock
widget years ago. Then, I just checked against gtkdial in gtk2 to see
what had changed...

Thanks again,

Best regards,
Olivier.




More information about the Xfce4-dev mailing list