diff options
author | William Jon McCann <mccann@jhu.edu> | 2007-03-13 13:50:58 -0400 |
---|---|---|
committer | William Jon McCann <mccann@jhu.edu> | 2007-03-13 13:50:58 -0400 |
commit | 0f1d6b3b234a1f8d8c6b9dff38388ab58f695b64 (patch) | |
tree | 20233bd1ae56b5bd0b9a3434f37266e1a0d76f40 /tools | |
parent | 921b5e02edf59117b64385edbe4d191819d90abd (diff) |
deprecate the user properties and add unix-user properties
Also added deprecated notes to the docs. New code should
be using GetUnixUser instead of GetUser etc.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/linux/ck-collect-session-info.c | 2 | ||||
-rw-r--r-- | tools/list-sessions.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/linux/ck-collect-session-info.c b/tools/linux/ck-collect-session-info.c index ec6dda2..5e8e07d 100644 --- a/tools/linux/ck-collect-session-info.c +++ b/tools/linux/ck-collect-session-info.c @@ -318,7 +318,7 @@ fill_session_info (SessionInfo *si) static void print_session_info (SessionInfo *si) { - printf ("user = %u\n", si->uid); + printf ("unix-user = %u\n", si->uid); if (si->x11_display != NULL) { printf ("x11-display = %s\n", si->x11_display); } diff --git a/tools/list-sessions.c b/tools/list-sessions.c index 1ea9110..75828ed 100644 --- a/tools/list-sessions.c +++ b/tools/list-sessions.c @@ -192,7 +192,7 @@ list_session (DBusGConnection *connection, creation_time = NULL; idle_since_hint = NULL; - get_int (proxy, "GetUser", &uid); + get_int (proxy, "GetUnixUser", &uid); get_path (proxy, "GetSeatId", &sid); get_string (proxy, "GetSessionType", &session_type); get_string (proxy, "GetX11Display", &x11_display); |