setlocale (LC_NUMERIC, "C") after gtk_init because gtk_init zaps previous

1999-09-04  Tomas Ogren  <stric@ing.umu.se>

* app/main.c: setlocale (LC_NUMERIC, "C")  after gtk_init because
gtk_init zaps previous settings
This commit is contained in:
Tomas Ogren 1999-09-04 01:43:50 +00:00 committed by Tomas Ögren
parent 0e42a46bd4
commit be4bec7e04
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-09-04 Tomas Ogren <stric@ing.umu.se>
* app/main.c: setlocale (LC_NUMERIC, "C") after gtk_init because
gtk_init zaps previous settings
Fri Sep 3 17:33:37 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in: add plug-ins/AlienMap2/Makefile to AC_OUTPUT

View File

@ -139,6 +139,8 @@ main (int argc, char **argv)
gtk_init (&argc, &argv);
setlocale(LC_NUMERIC, "C"); /* gtk seems to zap this during init.. */
#ifdef HAVE_PUTENV
display_name = gdk_get_display ();
display_env = g_new (gchar, strlen (display_name) + 9);