Call setlocale initially
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Apr 2010 13:30:22 +0000 (09:30 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Apr 2010 13:31:31 +0000 (09:31 -0400)
That seems to be required to make bindtextdomain work in the
l10n tests. See bug 616152.

gio/tests/gsettings.c

index 01d8b18..edd7c8e 100644 (file)
@@ -1012,6 +1012,8 @@ test_keyfile (void)
 int
 main (int argc, char *argv[])
 {
+  setlocale (LC_ALL, "");
+
   g_setenv ("GSETTINGS_SCHEMA_DIR", ".", TRUE);
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);