[gnome-session] main: Don't set locale information again
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] main: Don't set locale information again
- Date: Mon, 10 Oct 2016 13:31:35 +0000 (UTC)
commit 96968bdba31dfe738744468a9aaa7a6e2556a479
Author: Bastien Nocera <hadess hadess net>
Date: Fri Oct 7 13:36:00 2016 +0200
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
gnome-session/main.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/gnome-session/main.c b/gnome-session/main.c
index f836920..614c342 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]