Call setlocale initially

That seems to be required to make bindtextdomain work in the
l10n tests. See bug 616152.
This commit is contained in:
Matthias Clasen 2010-04-19 09:30:22 -04:00
parent 4523b2b9cd
commit 69bd033e11

View 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);