mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 08:28:53 +02:00
keyfile tests: Fix windows build using portable g_setenv
This commit is contained in:
committed by
Sebastian Dröge
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);
|
||||||
|
Reference in New Issue
Block a user