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 ();