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/fan_generic_obj.c b/objects/fan_generic_obj.c index 990a5e9..afe3318 100644 --- a/objects/fan_generic_obj.c +++ b/objects/fan_generic_obj.c
@@ -114,7 +114,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,