[gdm] rename update to update_from_pwent
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] rename update to update_from_pwent
- Date: Fri, 11 Jun 2010 00:19:10 +0000 (UTC)
commit f3831d46bbf0a578ee0b9f8845c9de747afbe6e8
Author: Ray Strode <rstrode redhat com>
Date: Tue Mar 16 02:44:28 2010 -0400
rename update to update_from_pwent
it's less ambiguous
https://bugzilla.gnome.org/show_bug.cgi?id=610179
gui/simple-greeter/gdm-user-manager.c | 8 ++++----
gui/simple-greeter/gdm-user-private.h | 4 ++--
gui/simple-greeter/gdm-user.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-user-manager.c b/gui/simple-greeter/gdm-user-manager.c
index 63333ca..a2d7fd0 100644
--- a/gui/simple-greeter/gdm-user-manager.c
+++ b/gui/simple-greeter/gdm-user-manager.c
@@ -630,7 +630,7 @@ add_new_user_for_pwent (GdmUserManager *manager,
g_debug ("Creating new user");
user = create_user (manager);
- _gdm_user_update (user, pwent);
+ _gdm_user_update_from_pwent (user, pwent);
add_user (manager, user);
@@ -777,7 +777,7 @@ maybe_add_session (GdmUserManager *manager,
g_debug ("Creating new user");
user = create_user (manager);
- _gdm_user_update (user, pwent);
+ _gdm_user_update_from_pwent (user, pwent);
is_new = TRUE;
} else {
is_new = FALSE;
@@ -1324,7 +1324,7 @@ reload_passwd (GdmUserManager *manager)
/* Update users already in the *new* list */
if (g_slist_find (new_users, user)) {
- _gdm_user_update (user, pwent);
+ _gdm_user_update_from_pwent (user, pwent);
continue;
}
@@ -1336,7 +1336,7 @@ reload_passwd (GdmUserManager *manager)
/* Freeze & update users not already in the new list */
g_object_freeze_notify (G_OBJECT (user));
- _gdm_user_update (user, pwent);
+ _gdm_user_update_from_pwent (user, pwent);
new_users = g_slist_prepend (new_users, user);
}
diff --git a/gui/simple-greeter/gdm-user-private.h b/gui/simple-greeter/gdm-user-private.h
index a132dcd..16ff415 100644
--- a/gui/simple-greeter/gdm-user-private.h
+++ b/gui/simple-greeter/gdm-user-private.h
@@ -30,8 +30,8 @@
G_BEGIN_DECLS
-void _gdm_user_update (GdmUser *user,
- const struct passwd *pwent);
+void _gdm_user_update_from_pwent (GdmUser *user,
+ const struct passwd *pwent);
void _gdm_user_update_login_frequency (GdmUser *user,
guint64 login_frequency);
diff --git a/gui/simple-greeter/gdm-user.c b/gui/simple-greeter/gdm-user.c
index 97b9eaa..425f11a 100644
--- a/gui/simple-greeter/gdm-user.c
+++ b/gui/simple-greeter/gdm-user.c
@@ -178,7 +178,7 @@ gdm_user_finalize (GObject *object)
}
/**
- * _gdm_user_update:
+ * _gdm_user_update_from_pwent:
* @user: the user object to update.
* @pwent: the user data to use.
*
@@ -187,8 +187,8 @@ gdm_user_finalize (GObject *object)
* Since: 1.0
**/
void
-_gdm_user_update (GdmUser *user,
- const struct passwd *pwent)
+_gdm_user_update_from_pwent (GdmUser *user,
+ const struct passwd *pwent)
{
gchar *real_name = NULL;
gboolean changed;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]