mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 20:35:49 +01:00
keyfile tests: Fix windows build using portable g_setenv
This commit is contained in:
parent
9f870fc056
commit
59881a65b2
@ -679,7 +679,7 @@ test_locale_string (void)
|
|||||||
/* now test that translations are thrown away */
|
/* now test that translations are thrown away */
|
||||||
|
|
||||||
old_locale = g_strdup (setlocale (LC_ALL, NULL));
|
old_locale = g_strdup (setlocale (LC_ALL, NULL));
|
||||||
setenv ("LANGUAGE", "de", TRUE);
|
g_setenv ("LANGUAGE", "de", TRUE);
|
||||||
setlocale (LC_ALL, "");
|
setlocale (LC_ALL, "");
|
||||||
|
|
||||||
keyfile = load_data (data, 0);
|
keyfile = load_data (data, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user