diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-22 01:14:57 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-22 01:42:15 +0100 |
commit | f00c31213a2e521680c2381ef231f05e30c874a7 (patch) | |
tree | a0eb712c597e646c5149441bc301942f9d5fd386 /src/login/logind-seat-dbus.c | |
parent | 969987ea93a7fdcd2c87b551eb0adf0bd9338b32 (diff) |
bus: also add error parameter to object find and enumerator callbacks
Just in order to bring things inline with the method and property
callbacks.
Diffstat (limited to 'src/login/logind-seat-dbus.c')
-rw-r--r-- | src/login/logind-seat-dbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind-seat-dbus.c b/src/login/logind-seat-dbus.c index 488d007c7e..f274c0d639 100644 --- a/src/login/logind-seat-dbus.c +++ b/src/login/logind-seat-dbus.c @@ -254,7 +254,7 @@ const sd_bus_vtable seat_vtable[] = { SD_BUS_VTABLE_END }; -int seat_object_find(sd_bus *bus, const char *path, const char *interface, void **found, void *userdata) { +int seat_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { Manager *m = userdata; Seat *seat; int r; @@ -319,7 +319,7 @@ char *seat_bus_path(Seat *s) { return strappend("/org/freedesktop/login1/seat/", t); } -int seat_node_enumerator(sd_bus *bus, const char *path, char ***nodes, void *userdata) { +int seat_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { _cleanup_strv_free_ char **l = NULL; Manager *m = userdata; Seat *seat; |