mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 20:35:49 +01:00
Call setlocale initially
That seems to be required to make bindtextdomain work in the l10n tests. See bug 616152.
This commit is contained in:
parent
4523b2b9cd
commit
69bd033e11
@ -1012,6 +1012,8 @@ test_keyfile (void)
|
|||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
setlocale (LC_ALL, "");
|
||||||
|
|
||||||
g_setenv ("GSETTINGS_SCHEMA_DIR", ".", TRUE);
|
g_setenv ("GSETTINGS_SCHEMA_DIR", ".", TRUE);
|
||||||
g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
|
g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user