[gdm] manager: rename get_user_session_for_display to find_user…
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] manager: rename get_user_session_for_display to find_user…
- Date: Sat, 19 Aug 2017 00:47:16 +0000 (UTC)
commit aece9f5a30d6714cc224c1f0f8ced11295dd0bca
Author: Ray Strode <rstrode redhat com>
Date: Fri Aug 18 20:42:17 2017 -0400
manager: rename get_user_session_for_display to find_user…
This function iterates through a list so calling the action find
is more appropriate.
https://bugzilla.gnome.org/show_bug.cgi?id=784555
daemon/gdm-manager.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index d080b30..eafa2e8 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -721,8 +721,8 @@ out:
}
static GdmSession *
-get_user_session_for_display (GdmManager *self,
- GdmDisplay *display)
+find_user_session_for_display (GdmManager *self,
+ GdmDisplay *display)
{
GList *node = self->priv->user_sessions;
@@ -782,7 +782,7 @@ gdm_manager_handle_register_display (GdmDBusManager *manager,
}
}
- session = get_user_session_for_display (self, display);
+ session = find_user_session_for_display (self, display);
if (session != NULL) {
GPid pid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]