Re: gtk-2 bug, inconsistency or simply misunderstanding on my side ?
- From: Olivier Fourdan <fourdan xfce org>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-app-devel-list gnome org, xfce4-dev moongroup com
- Subject: Re: gtk-2 bug, inconsistency or simply misunderstanding on my side ?
- Date: 27 Sep 2002 15:26:41 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]