Make the test run on older GLib libraries

This commit is contained in:
Přemysl Eric Janouch 2013-05-06 00:04:25 +02:00
parent d55275d603
commit 0e6c42a649

View File

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