RE: [gtk-list] Re: Window destroying!

> 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);


Gtk-WARNING **: gtk_signal_connect(): could not find signal "destroyed" in
the `GtkWindow' class ancestry

So I just connected the "destroy" signal twice! The 2nd time with the call
above with "destroy" instead of "destroyed". All seems well now!

Is it really a good idea to connect the same twice?


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