summaryrefslogtreecommitdiff
path: root/src/logind-seat-dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-24 20:41:22 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-24 20:41:22 +0200
commitdec15e9263cadae02f4f51463860248af40475d0 (patch)
tree2a3db8606d4596a3aac939ec4c81edfceb09ac84 /src/logind-seat-dbus.c
parent19bc719ec28e731159671b06254d9bfd49014894 (diff)
logind: fix generation of bus arrays
Diffstat (limited to 'src/logind-seat-dbus.c')
-rw-r--r--src/logind-seat-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logind-seat-dbus.c b/src/logind-seat-dbus.c
index ad0298e7a7..669e83e82d 100644
--- a/src/logind-seat-dbus.c
+++ b/src/logind-seat-dbus.c
@@ -102,7 +102,7 @@ static int bus_seat_append_sessions(DBusMessageIter *i, const char *property, vo
assert(property);
assert(s);
- if (!dbus_message_iter_open_container(i, DBUS_TYPE_ARRAY, "so", &sub))
+ if (!dbus_message_iter_open_container(i, DBUS_TYPE_ARRAY, "(so)", &sub))
return -ENOMEM;
LIST_FOREACH(sessions_by_seat, session, s->sessions) {