summaryrefslogtreecommitdiff
path: root/daemon/gdm-display.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-03-02 14:36:53 -0500
committerRay Strode <rstrode@redhat.com>2015-03-02 20:12:34 -0500
commit1ba239a617ac4657cce89e08522400c9320e2eb2 (patch)
tree78760af94a13a54dec61c48a53cd65e033e03208 /daemon/gdm-display.c
parent27d1ae07b8734e61b4b25f8480019c4a84431619 (diff)
downloadgdm-1ba239a617ac4657cce89e08522400c9320e2eb2.tar.gz
display: drop set_up_greeter_session function
The function is ill named and ill placed. It really just returns the username of the client that's allowed to connect to the display. This commit moves the function to gdm-manager.c
Diffstat (limited to 'daemon/gdm-display.c')
-rw-r--r--daemon/gdm-display.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c
index 36c15c5c..171938be 100644
--- a/daemon/gdm-display.c
+++ b/daemon/gdm-display.c
@@ -1534,19 +1534,6 @@ wants_initial_setup (GdmDisplay *self)
}
void
-gdm_display_set_up_greeter_session (GdmDisplay *self,
- char **username)
-{
- g_return_if_fail (g_strcmp0 (self->priv->session_class, "greeter") == 0);
-
- if (self->priv->doing_initial_setup) {
- *username = g_strdup (INITIAL_SETUP_USERNAME);
- } else {
- *username = g_strdup (GDM_USERNAME);
- }
-}
-
-void
gdm_display_start_greeter_session (GdmDisplay *self)
{
GdmSession *session;