Skip to content
Commit b681969f authored by Lionel Le Folgoc's avatar Lionel Le Folgoc Committed by Unit 193
Browse files

Drop GDM compatibility code otherwise the session locale might be set to an invalid value.

$GDM_LANG doesn't always contain a full valid locale. It might contain a
"short" one (e.g. "fr") that is expanded (e.g. to "fr_fr.UTF-8) by an
Xsession script shipped by gdm. So drop the compatibility code from
xfce4-session, otherwise the session locale might be set to an invalid
value.

Closes bug: #15414
parent 83472155
  • Developer
    main.c: In function ‘setup_environment’:
    main.c:91:16: warning: unused variable ‘lang’ [-Wunused-variable]
       91 |   const gchar *lang;
          |                ^~~~
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment