From aa215d6fa551a3edbd129d4a163210e98357bdd1 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 8 May 2008 19:39:12 +0000 Subject: Emulate libgdbus API for mainloop integration --- daemon/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'daemon/main.c') diff --git a/daemon/main.c b/daemon/main.c index be731b14..7479d25e 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -58,8 +58,7 @@ static DBusConnection *system_bus = NULL; static int setup_dbus(void) { - system_bus = dbus_bus_system_setup_with_main_loop("org.bluez", - NULL, NULL); + system_bus = g_dbus_setup_bus(DBUS_BUS_SYSTEM, "org.bluez", NULL); if (!system_bus) return -1; -- cgit