commit | 5e792e34b835a713ae1ccf08f5531145f45c4887 | [log] [tgz] |
---|---|---|
author | Norman James <nkskjames@gmail.com> | Wed Oct 07 17:36:17 2015 -0500 |
committer | Norman James <nkskjames@gmail.com> | Wed Oct 07 17:36:17 2015 -0500 |
tree | 93a738c31a91660b884dab0e4885ce34463fa53b | |
parent | f066e8788629ed134f7595b6b1c0b5bc955eaed9 [diff] [blame] |
made bus config global and moved to system bus
diff --git a/objects/sensor_host_status_obj.c b/objects/sensor_host_status_obj.c index 825117a..d631200 100644 --- a/objects/sensor_host_status_obj.c +++ b/objects/sensor_host_status_obj.c
@@ -163,7 +163,7 @@ guint id; loop = g_main_loop_new (NULL, FALSE); - id = g_bus_own_name (G_BUS_TYPE_SESSION, + id = g_bus_own_name (DBUS_TYPE, dbus_name, G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT | G_BUS_NAME_OWNER_FLAGS_REPLACE,