From 1ed2177a36c6c5eeb22fb91f8c444605696a8687 Mon Sep 17 00:00:00 2001 From: Robert Roth Date: Mon, 25 Nov 2013 18:58:44 +0200 Subject: Use system bus instead of session bus --- service/gtop-dbus-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/gtop-dbus-service.c b/service/gtop-dbus-service.c index 062cef4b..692d85c1 100644 --- a/service/gtop-dbus-service.c +++ b/service/gtop-dbus-service.c @@ -251,7 +251,7 @@ int main ( int argc, char ** argv ) { introspection_data = g_dbus_node_info_new_for_xml (introspection_xml, NULL); - owner_id = g_bus_own_name (G_BUS_TYPE_SESSION, + owner_id = g_bus_own_name (G_BUS_TYPE_SYSTEM, GTOP_SERVER, G_BUS_NAME_OWNER_FLAGS_NONE, on_bus_acquired, -- cgit v1.2.1