summaryrefslogtreecommitdiffstats
path: root/cups/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cups/main.c')
-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;