Re: Release memory for a GtkWindow
- From: "Jean-Christophe Berthon" <Jean-Christophe Berthon cgey com>
- To: <mrl netbank com br>, "Havoc Pennington" <hp redhat com>
- Cc: "zze-coframi balr001" <coframi balr001 rd francetelecom com>, "Mailing list GTK+ (E-mail)" <gtk-app-devel-list gnome org>
- Subject: Re: Release memory for a GtkWindow
- Date: Fri, 15 Mar 2002 10:47:13 +0100
Oops! sorry.. hehe :)
I thought it was just referenced to optimize the creations, then you
wouldn't
need to call gtk_widget_ref(..) again..
BTW, calling gtk_object_destroy() will destroy the widget, even if it has
refcount = 2, 3, ... or it will just return?
Sometimes ago, I've check the source code of that function and, as I
remember now, the memory was freed when ref_count dropped to 0.
Jean-Christophe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]