Re: Completely remove a GtkWidget from Memory



Christian Schneider wrote:
Hallo,

in my programm I've got the following global pointer:
void
on_fileselectionfensterglobal_destroy (GtkObject *object, gpointer user_data)
{
 ...
  gtk_widget_destroy (fileselectionfensterglobal);
}


You're not assigning anything to 'fileselectionfensterglobal' so of course its value is not going to be NULL.
After you destroy it, you need to set

"fileselectionfensterglobal = NULL;"




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