projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0415d46
)
Fix imcontext tests
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 20 Aug 2021 18:41:05 +0000
(14:41 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 20 Aug 2021 19:10:25 +0000
(15:10 -0400)
We should force our internal im context for these
tests, so we don't depend on the environment.
testsuite/gtk/imcontext.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/imcontext.c
b/testsuite/gtk/imcontext.c
index ae43b9d8b60b87397aec623a0ff7815866d8c341..f6f3acf2e44fa1ae1f3751c0223a961c5143f719 100644
(file)
--- a/
testsuite/gtk/imcontext.c
+++ b/
testsuite/gtk/imcontext.c
@@
-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);