gnome-extra/cinnamon-settings-daemon: патч принудительного использования elogind

mhiretskiy
parent 1eefbe5630
commit e3c8a53497

@ -0,0 +1,31 @@
# 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)
{

@ -0,0 +1,4 @@
# Calculate name=ini.env format=samba ini(overlay-calculate.revision)=>20191116.3,#-cut(0,-,#-cl_pass_file-#)-# rebuild=gnome-extra/cinnamon-settings-daemon
[overlay-calculate]
revision = #-cut(0,-,#-cl_pass_file-#)-#
Loading…
Cancel
Save