summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2017-08-18 20:42:17 -0400
committerRay Strode <rstrode@redhat.com>2017-08-18 20:46:21 -0400
commitaece9f5a30d6714cc224c1f0f8ced11295dd0bca (patch)
tree936c407bd83aabcc55da6a5351983354b53248a9
parent471b15b7653d71e7fd3d7caccdf07e3f789c1de6 (diff)
downloadgdm-aece9f5a30d6714cc224c1f0f8ced11295dd0bca.tar.gz
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
-rw-r--r--daemon/gdm-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index d080b308..eafa2e8a 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;