summaryrefslogtreecommitdiff
path: root/src/dbus-common.h
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-04-06 21:38:00 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-10 22:41:15 +0200
commit9612f07cbf2b0ec54c5dc6ed7e521e181cc3612d (patch)
treeb453f14054194aac7fed67ece5897d70373a8920 /src/dbus-common.h
parent56bcbfa5f80ce6f1da5bb38e336b213be5ed0df0 (diff)
dbus: add data argument to BusPropertySetCallback
BusPropertyCallback already has the argument. It is necesary for the callback to know what data to access.
Diffstat (limited to 'src/dbus-common.h')
-rw-r--r--src/dbus-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus-common.h b/src/dbus-common.h
index 15811a7e50..1dc0f591d0 100644
--- a/src/dbus-common.h
+++ b/src/dbus-common.h
@@ -93,7 +93,7 @@ int bus_connect_system_polkit(DBusConnection **_bus, DBusError *error);
const char *bus_error_message(const DBusError *error);
typedef int (*BusPropertyCallback)(DBusMessageIter *iter, const char *property, void *data);
-typedef int (*BusPropertySetCallback)(DBusMessageIter *iter, const char *property);
+typedef int (*BusPropertySetCallback)(DBusMessageIter *iter, const char *property, void *data);
typedef struct BusProperty {
const char *property; /* name of the property */