From 33191e6275ab82aa4161cdf75b45597e4d1568ec Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 8 May 2008 19:12:44 +0000 Subject: Move D-Bus mainloop integration into libgdbus --- cups/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cups/main.c') diff --git a/cups/main.c b/cups/main.c index ac77e85d..b36b2074 100644 --- a/cups/main.c +++ b/cups/main.c @@ -38,10 +38,9 @@ #include #include -#include +#include #include "cups.h" -#include "dbus.h" #include "sdp-xml.h" extern int sdp_search_spp(sdp_session_t *sdp, uint8_t *channel); @@ -456,7 +455,7 @@ static gboolean list_printers(void) char *adapter, *match; guint len; - conn = init_dbus(NULL, NULL, NULL); + conn = dbus_bus_system_setup_with_main_loop("org.bluez", NULL, NULL); if (conn == NULL) return FALSE; -- cgit