From 0e6c42a6491af7bddbee39811ffe6f796737b5bb Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Mon, 6 May 2013 00:04:25 +0200 Subject: Make the test run on older GLib libraries --- test-stardict.c | 2 ++ 1 file changed, 2 insertions(+) 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 (); -- cgit v1.2.3-70-g09d2