diff options
author | Ray Strode <rstrode@redhat.com> | 2015-02-17 12:47:08 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-02-18 17:34:09 -0500 |
commit | ecb7f149e4d855ff0b99cf139a40140ecd5928ef (patch) | |
tree | 492a63327e77aae92d2b69d2511cda7d929e8b74 | |
parent | 45717ba6f53a16aae050be3d5183e685952540b4 (diff) | |
download | gdm-ecb7f149e4d855ff0b99cf139a40140ecd5928ef.tar.gz |
session: get rid of __previous handling
It's vestigial.
https://bugzilla.gnome.org/show_bug.cgi?id=744764
-rw-r--r-- | daemon/gdm-session.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c index ab8b2fbe..52f7aed3 100644 --- a/daemon/gdm-session.c +++ b/daemon/gdm-session.c @@ -2954,12 +2954,7 @@ gdm_session_select_session (GdmSession *self, gpointer key, value; g_free (self->priv->selected_session); - - if (strcmp (text, "__previous") == 0) { - self->priv->selected_session = NULL; - } else { - self->priv->selected_session = g_strdup (text); - } + self->priv->selected_session = g_strdup (text); g_hash_table_iter_init (&iter, self->priv->conversations); while (g_hash_table_iter_next (&iter, &key, &value)) { |