aboutsummaryrefslogtreecommitdiff
path: root/src/users-service-dbus.h
diff options
context:
space:
mode:
authorIain Lane <iain.lane@canonical.com>2013-04-11 16:33:54 +0100
committerIain Lane <iain.lane@canonical.com>2013-04-11 16:33:54 +0100
commit7cde1532657a4f7936703002768d3fc92e21be96 (patch)
tree328ba0f327a9f1023bae8f4b50a17982978343bc /src/users-service-dbus.h
parentd2edc73c70c6ec3188fae4affe137aff9a40c0a9 (diff)
downloadayatana-indicator-session-7cde1532657a4f7936703002768d3fc92e21be96.tar.gz
ayatana-indicator-session-7cde1532657a4f7936703002768d3fc92e21be96.tar.bz2
ayatana-indicator-session-7cde1532657a4f7936703002768d3fc92e21be96.zip
Initial port from ConsoleKit to Logind for session tracking.
Diffstat (limited to 'src/users-service-dbus.h')
-rw-r--r--src/users-service-dbus.h5
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);