summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2012-10-22 10:39:08 +0200
committerBastien Nocera <hadess@hadess.net>2012-10-22 10:39:08 +0200
commit9efa97a24c99b0989a48598b3d6c7c59efc03f84 (patch)
tree254593b27f4288c0766bd07da45338eb924a50a8
parent8036b6fd4fc76560d8ff1d937b0511789fe8963f (diff)
downloadgnome-settings-daemon-9efa97a24c99b0989a48598b3d6c7c59efc03f84.tar.gz
media-keys: The non-logind paths are gone
-rw-r--r--plugins/media-keys/gsd-media-keys-manager.c8
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 c1bfe8f2..6985d100 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),