~helene-verhaeghe27/cairo-dock-core/bugfix

« back to all changes in this revision

Viewing changes to src/cairo-dock.c

  • Committer: Fabrice Rey
  • Date: 2012-08-11 00:07:39 UTC
  • Revision ID: fabounet03@gmail.com-20120811000739-tvhdwhn6ksrc9lq2
updated the maintenance mode to work with the new config GUI

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
        signal (SIGTERM, _cairo_dock_quit);  // Term // kill -15 (system)
195
195
}
196
196
 
197
 
static gboolean on_delete_maintenance_gui (GtkWidget *pWidget, GdkEvent *event, GMainLoop *pBlockingLoop)
 
197
static gboolean on_delete_maintenance_gui (GtkWidget *pWidget, GMainLoop *pBlockingLoop)
198
198
{
199
199
        cd_debug ("%s ()", __func__);
200
200
        if (pBlockingLoop != NULL && g_main_loop_is_running (pBlockingLoop))
679
679
                gtk_window_set_modal (GTK_WINDOW (pWindow), TRUE);
680
680
                GMainLoop *pBlockingLoop = g_main_loop_new (NULL, FALSE);
681
681
                g_signal_connect (G_OBJECT (pWindow),
682
 
                        "delete-event",
 
682
                        "destroy",
683
683
                        G_CALLBACK (on_delete_maintenance_gui),
684
684
                        pBlockingLoop);
685
685