Commit 96968bdb authored by Bastien Nocera's avatar Bastien Nocera

main: Don't set locale information again

It is already done in the wrapper script, and needs to stay there.

See https://bugzilla.gnome.org/show_bug.cgi?id=756324
See https://bugzilla.gnome.org/show_bug.cgi?id=766176

https://bugzilla.gnome.org/show_bug.cgi?id=772562
parent fa8b1e71
......@@ -230,15 +230,6 @@ check_gl (GError **error)
return g_spawn_check_exit_status (status, error);
}
static inline void
maybe_push_env_var (const char* name)
{
const char *value = g_getenv (name);
if (value)
gsm_util_setenv (name, value);
}
static void
initialize_gio (void)
{
......@@ -386,13 +377,6 @@ main (int argc, char **argv)
exit (1);
}
/* Push locale variables to dbus-daemon */
maybe_push_env_var ("LC_TIME");
maybe_push_env_var ("LC_NUMERIC");
maybe_push_env_var ("LC_MONETARY");
maybe_push_env_var ("LC_MEASUREMENT");
maybe_push_env_var ("LC_PAPER");
{
gchar *ibus_path;
......
Markdown is supported
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