diff options
author | Ray Strode <rstrode@redhat.com> | 2015-11-04 14:10:08 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-11-06 22:12:47 -0500 |
commit | 0bb8a777cfc0a3bc53c2c2830dd7e6e2baeeef38 (patch) | |
tree | 0b46ff5ce79f0866d93e5235fff2fbb3528b92e5 /daemon | |
parent | d28f4d6d3b5abc0001fbf11f4ff54aeacece84b6 (diff) | |
download | gdm-0bb8a777cfc0a3bc53c2c2830dd7e6e2baeeef38.tar.gz |
Xsession: get rid of "custom" session
custom is a magic name we used to allow
for having the user decide their session by
a ~/.xsession file. We no longer support that
construct and haven't for many years. Instead,
users who want that functionality can just add
a xsession file to accomplish it.
This commit just removes some left over cruft that
never got cleaned up.
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/gdm-session.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c index 63fe1c1f..b3ff8ab3 100644 --- a/daemon/gdm-session.c +++ b/daemon/gdm-session.c @@ -466,19 +466,6 @@ get_session_command_for_name (const char *name, res = get_session_command_for_file (filename, command); g_free (filename); - /* - * The GDM Xsession script honors "custom" as a valid session. If the - * session is one of these, no file is needed, then just run the - * command as "custom". - */ - if (!res && strcmp (name, GDM_CUSTOM_SESSION) == 0) { - g_debug ("No custom desktop file, but accepting it anyway."); - if (command != NULL) { - *command = g_strdup (GDM_CUSTOM_SESSION); - } - res = TRUE; - } - return res; } |