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 --- cups/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cups') 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; -- cgit