diff options
Diffstat (limited to 'testsuite/a11y/accessibility-dump.c')
-rw-r--r-- | testsuite/a11y/accessibility-dump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/a11y/accessibility-dump.c b/testsuite/a11y/accessibility-dump.c index 2986f297f6..bcaa48e906 100644 --- a/testsuite/a11y/accessibility-dump.c +++ b/testsuite/a11y/accessibility-dump.c @@ -928,7 +928,8 @@ parse_command_line (int *argc, char ***argv) gtk_test_init (argc, argv); schema_dir = g_test_build_filename (G_TEST_BUILT, "", NULL); - g_setenv ("GSETTINGS_SCHEMA_DIR", schema_dir, TRUE); + if (g_getenv ("GTK_TEST_MESON") == NULL) + g_setenv ("GSETTINGS_SCHEMA_DIR", schema_dir, TRUE); g_free (schema_dir); /* gtk_test_init does not call setlocale(), so do it ourselves, |