diff options
Diffstat (limited to 'daemon/main.c')
-rw-r--r-- | daemon/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/daemon/main.c b/daemon/main.c index 94eba19a..be731b14 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -37,6 +37,8 @@ #include <dbus/dbus.h> +#include <gdbus.h> + #include "dbus-helper.h" #include "dbus.h" @@ -56,7 +58,8 @@ static DBusConnection *system_bus = NULL; static int setup_dbus(void) { - system_bus = init_dbus("org.bluez", NULL, NULL); + system_bus = dbus_bus_system_setup_with_main_loop("org.bluez", + NULL, NULL); if (!system_bus) return -1; |