[Xfce4-commits] [apps/xfce4-screensaver] 02/03: Add support for elogind in one other place

noreply at xfce.org noreply at xfce.org
Wed Jun 5 11:32:53 CEST 2019


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit b30dece8bde7845137d6f0e60495c62d18668377
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Wed Jun 5 05:32:19 2019 -0400

    Add support for elogind in one other place
---
 src/gs-listener-dbus.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
index 389f67f..1e8df63 100644
--- a/src/gs-listener-dbus.c
+++ b/src/gs-listener-dbus.c
@@ -614,10 +614,10 @@ add_session_inhibit (GSListener         *listener,
 
     dbus_error_init (&error);
 
-#if defined(WITH_SYSTEMD)
-    message = dbus_message_new_method_call (SYSTEMD_LOGIND_SERVICE,
-                                            SYSTEMD_LOGIND_PATH,
-                                            SYSTEMD_LOGIND_INTERFACE,
+#if defined(WITH_SYSTEMD) || defined(WITH_ELOGIND)
+    message = dbus_message_new_method_call (LOGIND_SERVICE,
+                                            LOGIND_PATH,
+                                            LOGIND_INTERFACE,
                                             "Inhibit");
 #elif defined(WITH_CONSOLE_KIT)
     message = dbus_message_new_method_call (CK_NAME,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list