diff options
author | Iain Lane <iain.lane@canonical.com> | 2013-04-23 16:55:27 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-04-23 16:55:27 +0000 |
commit | 704bd7fb5a1aeb17326cccaea20f8a42baf2573b (patch) | |
tree | f50b7c40ba82bb9e0078fc5d08b615c04519e5d6 /src/users-service-dbus.h | |
parent | d2edc73c70c6ec3188fae4affe137aff9a40c0a9 (diff) | |
parent | 38399afa051605a447bd478c7b521048da8223d3 (diff) | |
download | ayatana-indicator-session-704bd7fb5a1aeb17326cccaea20f8a42baf2573b.tar.gz ayatana-indicator-session-704bd7fb5a1aeb17326cccaea20f8a42baf2573b.tar.bz2 ayatana-indicator-session-704bd7fb5a1aeb17326cccaea20f8a42baf2573b.zip |
Stop using ConsoleKit and UPower for session tracking and shutdown/reboot/suspend/hibernate; migrate to logind.
Approved by Mathieu Trudel-Lapierre, PS Jenkins bot.
Diffstat (limited to 'src/users-service-dbus.h')
-rw-r--r-- | src/users-service-dbus.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/users-service-dbus.h b/src/users-service-dbus.h index 0f082c3..3e5252d 100644 --- a/src/users-service-dbus.h +++ b/src/users-service-dbus.h @@ -52,8 +52,8 @@ typedef struct _UsersServiceDbusPrivate UsersServiceDbusPrivate; * 2. Track which users currently have X sessions. * This is used for the menuitems' USER_ITEM_PROP_LOGGED_IN property. * - * We initially build this list by calling org.freedesktop.ConsoleKit.Seat's - * GetDevices method. We also monitor the seat for SessionAdded and + * We initially build this list by calling org.freedesktop.login1's + * ListSessions method. We also monitor the seat for SessionNew and * SessionRemoved and update the list accordingly. * * 3. Provide an API for user switching and guest sessions. @@ -87,7 +87,6 @@ gboolean users_service_dbus_is_user_logged_in (UsersServiceDbus * self, void users_service_dbus_show_greeter (UsersServiceDbus * self); gboolean users_service_dbus_guest_session_enabled (UsersServiceDbus * self); -gboolean users_service_dbus_can_activate_session (UsersServiceDbus * self); void users_service_dbus_activate_guest_session (UsersServiceDbus * self); void users_service_dbus_activate_user_session (UsersServiceDbus * self, AccountsUser * user); |