示例#1
0
文件: dbg_all.c 项目: debrouxl/tiemu
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;
}
示例#2
0
void on_tray_quit(GtkMenuItem *menuitem, gpointer user_data)
{
	gtk_widget_show(window1);
	g_tray.Hide();
	on_quit1_activate(menuitem, user_data);
}