summaryrefslogtreecommitdiffstats
path: root/gdbus/gdbus.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-10-17 18:32:39 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-10-17 18:32:39 +0200
commit924541ea61be54f717c699b39670d0d553cb8da0 (patch)
tree4b6354104bf7dfeb3cd5e4b18947a62ec955b87a /gdbus/gdbus.h
parent7c9e18eb90954f7534dedb9cfaa55dd1180edc0a (diff)
Change declaration of GDBusWatchFunction
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r--gdbus/gdbus.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
index 5a318c0e..4733f354 100644
--- a/gdbus/gdbus.h
+++ b/gdbus/gdbus.h
@@ -31,7 +31,8 @@ extern "C" {
#include <dbus/dbus.h>
#include <glib.h>
-typedef void (* GDBusWatchFunction) (void *user_data);
+typedef void (* GDBusWatchFunction) (DBusConnection *connection,
+ void *user_data);
DBusConnection *g_dbus_setup_bus(DBusBusType type, const char *name,
DBusError *error);