From: Lennart Poettering Date: Tue, 26 Jul 2011 19:49:29 +0000 (+0200) Subject: logind: rename can_activate_sessions to can_multi_session X-Git-Tag: v31~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64559e8b4e81897bab3659aea27791467a579566;p=systemd logind: rename can_activate_sessions to can_multi_session --- diff --git a/src/logind-dbus.c b/src/logind-dbus.c index f39941c9..035847c6 100644 --- a/src/logind-dbus.c +++ b/src/logind-dbus.c @@ -577,7 +577,6 @@ static int trigger_device(Manager *m, struct udev_device *d) { } } - if (udev_enumerate_scan_devices(e) < 0) { r = -EIO; goto finish; diff --git a/src/logind-seat-dbus.c b/src/logind-seat-dbus.c index 669e83e8..3a916eef 100644 --- a/src/logind-seat-dbus.c +++ b/src/logind-seat-dbus.c @@ -35,7 +35,7 @@ " \n" \ " \n" \ " \n" \ - " \n" \ + " \n" \ " \n" \ " \n" \ " \n" \ @@ -133,7 +133,7 @@ static int bus_seat_append_sessions(DBusMessageIter *i, const char *property, vo return 0; } -static int bus_seat_append_can_activate(DBusMessageIter *i, const char *property, void *data) { +static int bus_seat_append_multi_session(DBusMessageIter *i, const char *property, void *data) { Seat *s = data; dbus_bool_t b; @@ -213,13 +213,13 @@ static DBusHandlerResult seat_message_dispatch( DBusMessage *message) { const BusProperty properties[] = { - { "org.freedesktop.login1.Seat", "Id", bus_property_append_string, "s", s->id }, - { "org.freedesktop.login1.Seat", "ActiveSession", bus_seat_append_active, "(so)", s }, - { "org.freedesktop.login1.Seat", "CanActivateSessions", bus_seat_append_can_activate, "b", s }, - { "org.freedesktop.login1.Seat", "Sessions", bus_seat_append_sessions, "a(so)", s }, - { "org.freedesktop.login1.Seat", "IdleHint", bus_seat_append_idle_hint, "b", s }, - { "org.freedesktop.login1.Seat", "IdleSinceHint", bus_seat_append_idle_hint_since, "t", s }, - { "org.freedesktop.login1.Seat", "IdleSinceHintMonotonic", bus_seat_append_idle_hint_since, "t", s }, + { "org.freedesktop.login1.Seat", "Id", bus_property_append_string, "s", s->id }, + { "org.freedesktop.login1.Seat", "ActiveSession", bus_seat_append_active, "(so)", s }, + { "org.freedesktop.login1.Seat", "CanMultiSession", bus_seat_append_multi_session, "b", s }, + { "org.freedesktop.login1.Seat", "Sessions", bus_seat_append_sessions, "a(so)", s }, + { "org.freedesktop.login1.Seat", "IdleHint", bus_seat_append_idle_hint, "b", s }, + { "org.freedesktop.login1.Seat", "IdleSinceHint", bus_seat_append_idle_hint_since, "t", s }, + { "org.freedesktop.login1.Seat", "IdleSinceHintMonotonic", bus_seat_append_idle_hint_since, "t", s }, { NULL, NULL, NULL, NULL, NULL } };