From 69bd033e11f63d50f551754dc9e98906d28e3561 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 19 Apr 2010 09:30:22 -0400 Subject: [PATCH] Call setlocale initially That seems to be required to make bindtextdomain work in the l10n tests. See bug 616152. --- gio/tests/gsettings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gio/tests/gsettings.c b/gio/tests/gsettings.c index 01d8b18dd..edd7c8e95 100644 --- a/gio/tests/gsettings.c +++ b/gio/tests/gsettings.c @@ -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);