Fix imcontext tests

We should force our internal im context for these
tests, so we don't depend on the environment.
This commit is contained in:
Matthias Clasen 2021-08-20 14:41:05 -04:00
parent 0415d46c0f
commit cedb6183e9

View File

@ -147,6 +147,8 @@ main (int argc, char *argv[])
{
gtk_test_init (&argc, &argv, NULL);
g_object_set (gtk_settings_get_default (), "gtk-im-module", "gtk-im-context-simple", NULL);
g_test_add_func ("/im-context/text-surrounding", test_text_surrounding);
g_test_add_func ("/im-context/textview-surrounding", test_textview_surrounding);