Merge branch 'test-locale-change' into 'master'

testutils: Run in UTF8 locale

See merge request GNOME/gtk!734
This commit is contained in:
Matthias Clasen
2019-04-13 00:28:08 +00:00

View File

@@ -77,7 +77,7 @@ gtk_test_init (int *argcp,
{
g_test_init (argcp, argvp, NULL);
gtk_disable_setlocale();
setlocale (LC_ALL, "C");
setlocale (LC_ALL, "en_US.UTF-8");
g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
/* XSendEvent() doesn't work yet on XI2 events.