GLADE_CB gboolean on_dbgcode_window_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data) { if (dbgcode_quit_enabled()) { gtk_widget_hide(widget); on_quit1_activate(NULL, NULL); } return TRUE; }
void on_tray_quit(GtkMenuItem *menuitem, gpointer user_data) { gtk_widget_show(window1); g_tray.Hide(); on_quit1_activate(menuitem, user_data); }