mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 18:26:19 +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 */
|
||||
|
||||
old_locale = g_strdup (setlocale (LC_ALL, NULL));
|
||||
setenv ("LANGUAGE", "de", TRUE);
|
||||
g_setenv ("LANGUAGE", "de", TRUE);
|
||||
setlocale (LC_ALL, "");
|
||||
|
||||
keyfile = load_data (data, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user