summaryrefslogtreecommitdiffstats
path: root/cups
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 /cups
parent33191e6275ab82aa4161cdf75b45597e4d1568ec (diff)
Emulate libgdbus API for mainloop integration
Diffstat (limited to 'cups')
-rw-r--r--cups/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/main.c b/cups/main.c
index b36b2074..001d6788 100644
--- a/cups/main.c
+++ b/cups/main.c
@@ -455,7 +455,7 @@ static gboolean list_printers(void)
char *adapter, *match;
guint len;
- conn = dbus_bus_system_setup_with_main_loop("org.bluez", NULL, NULL);
+ conn = g_dbus_setup_bus(DBUS_BUS_SYSTEM, NULL, NULL);
if (conn == NULL)
return FALSE;