diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-04-06 21:38:00 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-04-10 22:41:15 +0200 |
commit | 9612f07cbf2b0ec54c5dc6ed7e521e181cc3612d (patch) | |
tree | b453f14054194aac7fed67ece5897d70373a8920 /src/dbus-manager.c | |
parent | 56bcbfa5f80ce6f1da5bb38e336b213be5ed0df0 (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-manager.c')
-rw-r--r-- | src/dbus-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-manager.c b/src/dbus-manager.c index 0a6e55d87d..3bf0c07b88 100644 --- a/src/dbus-manager.c +++ b/src/dbus-manager.c @@ -326,7 +326,7 @@ static int bus_manager_append_log_target(DBusMessageIter *i, const char *propert return 0; } -static int bus_manager_set_log_target(DBusMessageIter *i, const char *property) { +static int bus_manager_set_log_target(DBusMessageIter *i, const char *property, void *data) { const char *t; assert(i); @@ -351,7 +351,7 @@ static int bus_manager_append_log_level(DBusMessageIter *i, const char *property return 0; } -static int bus_manager_set_log_level(DBusMessageIter *i, const char *property) { +static int bus_manager_set_log_level(DBusMessageIter *i, const char *property, void *data) { const char *t; assert(i); |