[Xfce4-commits] [xfce/xfce4-session] 02/03: Don't auto start consolekit daemon if it is not running
noreply at xfce.org
noreply at xfce.org
Thu May 2 19:50:37 CEST 2019
This is an automated email from the git hooks/post-receive script.
l a n d r y 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 f3fcf5ed8aabf1a252be50c37a90b014bb813966
Author: Ali Abdallah <ali at xfce.org>
Date: Fri Oct 26 11:54:51 2018 +0200
Don't auto start consolekit daemon if it is not running
Add G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START to consolekit proxy creationg,
so that if the session wasn't launched by consolekit (user choice maybe)
then we should not start it at our own.
---
xfce4-session/xfsm-consolekit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xfce4-session/xfsm-consolekit.c b/xfce4-session/xfsm-consolekit.c
index 00859e6..9658eb5 100644
--- a/xfce4-session/xfsm-consolekit.c
+++ b/xfce4-session/xfsm-consolekit.c
@@ -86,7 +86,7 @@ name_acquired (GDBusConnection *connection,
}
consolekit->proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
- G_DBUS_PROXY_FLAGS_NONE,
+ G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
NULL,
CK_NAME,
CK_MANAGER_PATH,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list