summaryrefslogtreecommitdiff
path: root/test-stardict.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-stardict.c')
-rw-r--r--test-stardict.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-stardict.c b/test-stardict.c
index 20931cd..8f7f798 100644
--- a/test-stardict.c
+++ b/test-stardict.c
@@ -412,6 +412,8 @@ int
main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
+ if (glib_check_version (2, 36, 0))
+ g_type_init ();
Dictionary *dict = dictionary_create ();