summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-17 23:52:46 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-17 23:52:46 +0000
commita4c11055a71ed680d4071152d8bb9852dffb733b (patch)
tree9afb66b4d38a0fec9b41b72e788a4f2a4a83cc5f /common
parentdb222e43d0ad90f94eefef03ff53bac26316c8a9 (diff)
In case of D-Bus GLib bindings don't define unneeded structures
Diffstat (limited to 'common')
-rw-r--r--common/dbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/dbus.c b/common/dbus.c
index f8a2f0ac..7792360e 100644
--- a/common/dbus.c
+++ b/common/dbus.c
@@ -48,6 +48,7 @@ static int name_listener_initialized = 0;
static GSList *name_listeners = NULL;
+#ifdef HAVE_DBUS_GLIB
typedef struct {
uint32_t id;
DBusTimeout *timeout;
@@ -58,6 +59,7 @@ struct watch_info {
GIOChannel *io;
DBusConnection *conn;
};
+#endif
struct disconnect_data {
void (*disconnect_cb)(void *);