[gnome-settings-daemon/gnome-3-10] main: remove unused code
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-10] main: remove unused code
- Date: Mon, 3 Feb 2014 10:35:54 +0000 (UTC)
commit 12d717ac17ff09d6918fdf1d47e000a0ee5fc4d4
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Mon Feb 3 00:54:09 2014 +0100
main: remove unused code
The SessionOver signal is legacy and is never emitted by
gnome-session.
https://bugzilla.gnome.org/show_bug.cgi?id=707790
gnome-settings-daemon/main.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/gnome-settings-daemon/main.c b/gnome-settings-daemon/main.c
index 746c870..b6b86bb 100644
--- a/gnome-settings-daemon/main.c
+++ b/gnome-settings-daemon/main.c
@@ -64,19 +64,6 @@ timed_exit_cb (void)
}
static void
-on_session_over (GDBusProxy *proxy,
- gchar *sender_name,
- gchar *signal_name,
- GVariant *parameters,
- gpointer user_data)
-{
- if (g_strcmp0 (signal_name, "SessionOver") == 0) {
- g_debug ("Got a SessionOver signal - stopping");
- gtk_main_quit ();
- }
-}
-
-static void
respond_to_end_session (GDBusProxy *proxy)
{
/* we must answer with "EndSessionResponse" */
@@ -277,8 +264,6 @@ register_with_gnome_session (GDBusProxy *proxy)
{
const char *startup_id;
- g_signal_connect (G_OBJECT (proxy), "g-signal",
- G_CALLBACK (on_session_over), NULL);
startup_id = g_getenv ("DESKTOP_AUTOSTART_ID");
g_dbus_proxy_call (proxy,
"RegisterClient",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]