summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-08 19:39:12 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-08 19:39:12 +0000
commitaa215d6fa551a3edbd129d4a163210e98357bdd1 (patch)
treed117772b0b444240eac624427393e9dff4d92703 /daemon
parent33191e6275ab82aa4161cdf75b45597e4d1568ec (diff)
Emulate libgdbus API for mainloop integration
Diffstat (limited to 'daemon')
-rw-r--r--daemon/main.c3
1 files changed, 1 insertions, 2 deletions
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;