Screwed up badly when changing gnome-session main_quit
to a signal. Argh.
This commit is contained in:
parent
93f7807295
commit
1672f410f3
@ -539,7 +539,8 @@ client_disconnected (GsmClient *client, gpointer data)
|
||||
|
||||
g_object_unref (client);
|
||||
|
||||
g_signal_emit (session, signals[SHUTDOWN_COMPLETED], 0);
|
||||
if (session->phase == GSM_SESSION_PHASE_SHUTDOWN && !session->clients)
|
||||
g_signal_emit (session, signals[SHUTDOWN_COMPLETED], 0);
|
||||
}
|
||||
|
||||
GsmSession *
|
||||
|
Loading…
Reference in New Issue
Block a user