[gnome-settings-daemon] power: Remove connection to impossible signal



commit 9f3be822e4972ca99132ecdc9d08de56d0a5d96c
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 17 17:49:29 2013 +0100

    power: Remove connection to impossible signal
    
    The org.gnome.SessionManager.Presence of gnome-session doesn't
    have InhibitorRemoved/InhibitorAdded signals, that's on
    org.gnome.SessionManager, so don't connect to g-signal.

 plugins/power/gsd-power-manager.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 35fdf6e..f9b22bd 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2763,8 +2763,6 @@ session_presence_proxy_ready_cb (GObject *source_object,
                 g_error_free (error);
                 return;
         }
-        g_signal_connect (manager->priv->session_presence_proxy, "g-signal",
-                          G_CALLBACK (idle_dbus_signal_cb), manager);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]