RE: widget destroyment



Title: widget destroyment

Not completely sure if unref will do it but I know that gtk_widget_destroy(GtkWidget *) will free the memory.

 

Martyn

 

-----Original Message-----
From: zze-coframi balr001 [mailto:coframi balr001 rd francetelecom com]
Sent: 31 January 2002 11:05
To: Mailing list GTK+ (E-mail)
Subject: widget destroyment

 

Hello,

Can anyone tell me if the following code release memory of the widget or if it's simply but a flag to true ??

        gtk_object_ref (widget);
        GTK_OBJECT_SET_FLAGS (widget, DESTROYED);
        gtk_object_unref(widget);

Thanks for answer

Isabelle



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