diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2013-05-06 00:04:25 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2013-05-08 20:44:41 +0200 |
commit | 0e6c42a6491af7bddbee39811ffe6f796737b5bb (patch) | |
tree | fae4d04df60505504b462da8383bfc57dab3f857 /test-stardict.c | |
parent | d55275d6033e5936b6d9ff72eb553d7709d0d4b3 (diff) | |
download | tdv-0e6c42a6491af7bddbee39811ffe6f796737b5bb.tar.gz tdv-0e6c42a6491af7bddbee39811ffe6f796737b5bb.tar.xz tdv-0e6c42a6491af7bddbee39811ffe6f796737b5bb.zip |
Make the test run on older GLib libraries
Diffstat (limited to 'test-stardict.c')
-rw-r--r-- | test-stardict.c | 2 |
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 (); |