[Xfce4-commits] [xfce/xfce4-session] 02/02: fix: Compilation error with --disable-polkit (Bug #12760)
noreply at xfce.org
noreply at xfce.org
Tue Jul 18 17:19:12 CEST 2017
This is an automated email from the git hooks/post-receive script.
e r i c 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 xfce/xfce4-session.
commit 560219ad500c73e0fc2c3d959f96bcb8e2a54556
Author: Eric Koegel <eric.koegel at 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.
More information about the Xfce4-commits
mailing list