summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvollmer@redhat.com>2013-06-11 15:46:53 +0300
committerRay Strode <rstrode@redhat.com>2013-06-18 10:44:27 -0400
commitaa4d93dfb42d72254cc985222ea694d748007dff (patch)
tree12314e61c8f284cf0a1e0155e755f0e0daffeb76
parentae9a4fc5b54d33a52e24c1f4a4806eb949383719 (diff)
downloadaccountsservice-aa4d93dfb42d72254cc985222ea694d748007dff.tar.gz
Document current limitations of act_user_*_anywhere.
https://bugs.freedesktop.org/show_bug.cgi?id=65160
-rw-r--r--src/libaccountsservice/act-user.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libaccountsservice/act-user.c b/src/libaccountsservice/act-user.c
index 402d0e5..ca860e3 100644
--- a/src/libaccountsservice/act-user.c
+++ b/src/libaccountsservice/act-user.c
@@ -238,6 +238,9 @@ act_user_get_num_sessions (ActUser *user)
* Get the number of sessions for a user on any seat of any type.
* See also act_user_get_num_sessions().
*
+ * (Currently, this function is only implemented for systemd-logind.
+ * For ConsoleKit, it is equivalent to act_user_get_num_sessions.)
+ *
* Returns: the number of sessions
*/
guint
@@ -918,6 +921,9 @@ act_user_is_logged_in (ActUser *user)
* Returns whether or not #ActUser is currently logged in in any way
* whatsoever. See also act_user_is_logged_in().
*
+ * (Currently, this function is only implemented for systemd-logind.
+ * For ConsoleKit, it is equivalent to act_user_is_logged_in.)
+ *
* Returns: %TRUE or %FALSE
*/
gboolean