Re: [gtk-list] Window destroying!
- From: u07ih abdn ac uk
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Window destroying!
- Date: Thu, 17 Feb 2000 20:03:22 +0000 (GMT)
> void xmark_destroyed(GtkWidget *lwindow, GdkEvent *event, gpointer *data)
> // delete some other stuff too
This only sets the local copy of lwindow to NULL. In all other places it will
still be whatever value it is.
I think you want to connect to "destroyed" as well like this
gtk_signal_connect (GTK_OBJECT (lwindow), "destroyed",
GTK_SIGNAL_FUNC (gtk_widget_destroyed), &lwindow);
] [Thread Prev