Re: widget destroy
- From: Havoc Pennington <hp redhat com>
- To: zze-coframi balr001 <coframi balr001 rd francetelecom com>
- Cc: "Mailing list GTK+ (E-mail)" <gtk-app-devel-list gnome org>
- Subject: Re: widget destroy
- Date: 01 Feb 2002 01:01:19 -0500
zze-coframi balr001 <coframi balr001 rd francetelecom com> writes:
Does the following code release memory of the widget or does it simply but a
flag to true ??
gtk_object_ref (widget);
GTK_OBJECT_SET_FLAGS (widget, DESTROYED);
gtk_object_unref(widget);
Thanks for answer
That code doesn't make any sense, it's not something you want to do.
Just call gtk_widget_destroy (widget).
Havoc
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]