[gnome-love] Exit confirmation



Hi list, 

I set up a little dialog box for confirmation when choosing "exit" at
the gnome main applicaton window. The question is: if "ok" is confirmed,
I need to close both the dialog and main application windows. I used 


gnome_dialog_set_parent(GNOME_DIALOG(box), GTK_WINDOW(app));
...
gtk_widget_destroy(app);


The widgets disappear, but the program is still running. Could anybody
help me with the right solution? Thanks a lot. 

Yuan Peng 



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