From: Kaj-Michael Lang Date: Thu, 15 May 2008 15:55:17 +0000 (+0300) Subject: BluetoothScan: Add D-Bus items only if required X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f910956a3cc1795ac63cbc23ccb984d2656071ce;p=mapper BluetoothScan: Add D-Bus items only if required --- diff --git a/src/bluetooth-scan.h b/src/bluetooth-scan.h index bccc3ef..0645f9a 100644 --- a/src/bluetooth-scan.h +++ b/src/bluetooth-scan.h @@ -3,7 +3,9 @@ #include "config.h" +#if defined(WITH_HILDON_DBUS_BT) || defined(WITH_BLUEZ_DBUS_BT) #include +#endif #include "utils.h" #include "gps.h" @@ -17,7 +19,7 @@ struct _ScanInfo { GtkWidget *banner; GtkListStore *store; guint sid; -#ifdef WITH_HILDON_DBUS_BT +#if defined(WITH_HILDON_DBUS_BT) || defined(WITH_BLUEZ_DBUS_BT) DBusGProxy *req_proxy; DBusGProxy *sig_proxy; #endif