tests: call g_type_init() if needed
commitc24eead4498c536d10afa40f726a29f335d1b400
authorNicola Fontana <ntd@entidi.it>
Sun, 25 Jan 2015 11:18:22 +0000 (25 12:18 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 25 Jan 2015 11:18:22 +0000 (25 12:18 +0100)
tree1516b2a228b5b50946ba5324890fca66d78b2dcd
parentb4253b235f6021400b5c609a2559b7aade147293
tests: call g_type_init() if needed

On GLib older than 2.34.0, g_type_init() should be called before
gtk_init(). Let's hope the same goes for g_test_init().

This could possibly solve the problem on TravisCI that is still using
glib-2.32.4.
src/tests/adg-test.c