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

eric pushed a 
commit to branch 
master
in repository xfce/xfce4-session.

commit 560219ad500c73e0fc2c3d959f96bcb8e2a54556
Author: Eric Koegel <eric.koe...@gmail.com>
Date:   Tue Jul 18 15:09:03 2017 +0300

    fix: Compilation error with --disable-polkit (Bug #12760)
---
 xfce4-session/xfsm-systemd.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/xfce4-session/xfsm-systemd.c b/xfce4-session/xfsm-systemd.c
index b829943..46a321c 100644
--- a/xfce4-session/xfsm-systemd.c
+++ b/xfce4-session/xfsm-systemd.c
@@ -97,14 +97,13 @@ xfsm_systemd_init (XfsmSystemd *systemd)
 static void
 xfsm_systemd_finalize (GObject *object)
 {
+#ifdef HAVE_POLKIT
   XfsmSystemd *systemd = XFSM_SYSTEMD (object);
 
-#ifdef HAVE_POLKIT
   g_object_unref (G_OBJECT (systemd->authority));
   g_object_unref (G_OBJECT (systemd->subject));
-#endif
-
   g_object_unref (G_OBJECT (systemd->screensaver));
+#endif
 
   (*G_OBJECT_CLASS (xfsm_systemd_parent_class)->finalize) (object);
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to