idle-monitor: Don't try to auto-start SessionManager

The interface is provided by gnome-session and not activatable.

https://gitlab.gnome.org/GNOME/mutter/issues/134
This commit is contained in:
Florian Müllner 2018-04-29 22:43:47 +02:00 committed by Ray Strode
parent 3b4319a87c
commit 2319cd9c40

View File

@ -246,7 +246,8 @@ meta_idle_monitor_init (MetaIdleMonitor *monitor)
/* Monitor inhibitors */ /* Monitor inhibitors */
monitor->session_proxy = monitor->session_proxy =
g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION, g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS, G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS |
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
NULL, NULL,
"org.gnome.SessionManager", "org.gnome.SessionManager",
"/org/gnome/SessionManager", "/org/gnome/SessionManager",