summaryrefslogtreecommitdiff
path: root/gnome-settings-daemon
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2014-02-03 00:59:06 +0100
committerGiovanni Campagna <gcampagna@src.gnome.org>2014-02-03 11:33:20 +0100
commite73148e492ff8bfa65e2195cb5002442966c58e1 (patch)
treec516d95b7b067d3a7339f5db777cd0508e115a56 /gnome-settings-daemon
parent47ddee7008af640fdfb90b9ccb1c7732c9f5036c (diff)
downloadgnome-settings-daemon-e73148e492ff8bfa65e2195cb5002442966c58e1.tar.gz
main: don't die when gnome-session says Stop
gnome-session asks all registered clients to stop after the user confirms the poweroff/logout dialog, but we should ignore that request, because non registered applications are still mapped and they would lose their theme and icons if we die (and same for the shell). We will go away as soon as the X11 connection is closed or the session bus dies anyway. https://bugzilla.gnome.org/show_bug.cgi?id=707790
Diffstat (limited to 'gnome-settings-daemon')
-rw-r--r--gnome-settings-daemon/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gnome-settings-daemon/main.c b/gnome-settings-daemon/main.c
index 72fdeabd..748a33c0 100644
--- a/gnome-settings-daemon/main.c
+++ b/gnome-settings-daemon/main.c
@@ -87,9 +87,6 @@ client_proxy_signal_cb (GDBusProxy *proxy,
} else if (g_strcmp0 (signal_name, "EndSession") == 0) {
g_debug ("Got EndSession signal");
respond_to_end_session (proxy);
- } else if (g_strcmp0 (signal_name, "Stop") == 0) {
- g_debug ("Got Stop signal");
- gtk_main_quit ();
}
}