RE: How to deallocate memory?
- From: "Hugues Bernard" <hbernard gynov org>
- To: "Esteban Quijano Vincenzi" <Esteban Quijano artinsoft com>
- Cc: <gtk-list gnome org>
- Subject: RE: How to deallocate memory?
- Date: Fri, 13 Jul 2001 19:49:11 +0200
> Is it possible to free the memory allocated for a widget using gtk_widget_destroy().
> However, when I try to free a window or a button with gtk_widget_destroy(GTK_WIDGET(widget))
> I have a run-time error saying that it is not a widget.
> How do you deallocate any widget allocated with its gtk_<name>_new(...)?
I use
gtk_object_destroy(GTK_OBJECT(blabla));
Salut,
Hugues
___
hbernard gynov org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]