Make the test run on older GLib libraries
This commit is contained in:
parent
d55275d603
commit
0e6c42a649
|
@ -412,6 +412,8 @@ int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
if (glib_check_version (2, 36, 0))
|
||||||
|
g_type_init ();
|
||||||
|
|
||||||
Dictionary *dict = dictionary_create ();
|
Dictionary *dict = dictionary_create ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue