You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/profiles/templates/3.6/6_ac_install_patch/gnome-extra/cinnamon-settings-daemon/use_elogind.patch

32 lines
680 B

# Calculate format=diff
diff --git a/plugins/common/csd-power-helper.c b/plugins/common/csd-power-helper.c
index 5a83072..4fedfeb 100644
--- a/plugins/common/csd-power-helper.c
+++ b/plugins/common/csd-power-helper.c
@@ -32,8 +32,6 @@
#define CONSOLEKIT_DBUS_PATH_MANAGER "/org/freedesktop/ConsoleKit/Manager"
#define CONSOLEKIT_DBUS_INTERFACE_MANAGER "org.freedesktop.ConsoleKit.Manager"
-#ifdef HAVE_LOGIND
-
static gboolean
use_logind (void)
{
@@ -49,16 +47,6 @@
return should_use_logind;
}
-#else /* HAVE_LOGIND */
-
-static gboolean
-use_logind (void)
-{
- return FALSE;
-}
-
-#endif /* HAVE_LOGIND */
-
static void
logind_stop (void)
{