[gnome-settings-daemon] media-keys: The non-logind paths are gone



commit 9efa97a24c99b0989a48598b3d6c7c59efc03f84
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Oct 22 10:39:08 2012 +0200

    media-keys: The non-logind paths are gone

 plugins/media-keys/gsd-media-keys-manager.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index c1bfe8f..6985d10 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -1617,10 +1617,6 @@ do_toggle_contrast_action (GsdMediaKeysManager *manager)
 static void
 power_action_suspend (GsdMediaKeysManager *manager)
 {
-#ifndef HAVE_SYSTEMD
-        g_warning ("no systemd support");
-        return;
-#endif
         g_dbus_proxy_call (manager->priv->logind_proxy,
                            "Suspend",
                            g_variant_new ("(b)", TRUE),
@@ -1633,10 +1629,6 @@ power_action_suspend (GsdMediaKeysManager *manager)
 static void
 power_action_hibernate (GsdMediaKeysManager *manager)
 {
-#ifndef HAVE_SYSTEMD
-        g_warning ("no systemd support");
-        return;
-#endif
         g_dbus_proxy_call (manager->priv->logind_proxy,
                            "Hibernate",
                            g_variant_new ("(b)", TRUE),



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