[gdm/accounts-service-split: 7/22] Drop get_sessions
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/accounts-service-split: 7/22] Drop get_sessions
- Date: Mon, 7 Jun 2010 22:25:07 +0000 (UTC)
commit a407a2af7ad4cd19bab7daf412d7aab64b6f64a3
Author: Ray Strode <rstrode redhat com>
Date: Mon Mar 15 22:49:55 2010 -0400
Drop get_sessions
We don't need it now.
gui/simple-greeter/gdm-user.c | 6 ------
gui/simple-greeter/gdm-user.h | 1 -
2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-user.c b/gui/simple-greeter/gdm-user.c
index 3e0c61a..dff394a 100644
--- a/gui/simple-greeter/gdm-user.c
+++ b/gui/simple-greeter/gdm-user.c
@@ -129,12 +129,6 @@ gdm_user_get_num_sessions (GdmUser *user)
return g_list_length (user->sessions);
}
-GList *
-gdm_user_get_sessions (GdmUser *user)
-{
- return user->sessions;
-}
-
static void
gdm_user_class_init (GdmUserClass *class)
{
diff --git a/gui/simple-greeter/gdm-user.h b/gui/simple-greeter/gdm-user.h
index 3e448dd..f871a5d 100644
--- a/gui/simple-greeter/gdm-user.h
+++ b/gui/simple-greeter/gdm-user.h
@@ -46,7 +46,6 @@ G_CONST_RETURN char *gdm_user_get_display_name (GdmUser *user);
G_CONST_RETURN char *gdm_user_get_home_directory (GdmUser *user);
G_CONST_RETURN char *gdm_user_get_shell (GdmUser *user);
guint gdm_user_get_num_sessions (GdmUser *user);
-GList *gdm_user_get_sessions (GdmUser *user);
gboolean gdm_user_is_logged_in (GdmUser *user);
gulong gdm_user_get_login_frequency (GdmUser *user);
G_CONST_RETURN char *gdm_user_get_primary_session_id (GdmUser *user);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]