[Glade-users] segfault after widget destroy



On Fri, 2004-03-12 at 23:50, Karla Stenger wrote:
Look at my code at http://cvs.sourceforge.net/viewcvs.py/a-renet/client-gtk/

Connecting to the "destroy" signal and using gtk_widget_destroy() is not
correct. You don't need to do that.

Maybe you confused it with the "delete-event" signal, which happens when
the user clicks on the 'X' window button. If you don't handle that
signal, I think the window will be destroyed automatically.

What do you want to happen when the user clicks the 'X' button?
You probably want to call gtk_exit() to quit the application.

Damon






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