summaryrefslogtreecommitdiff
path: root/tests/smart-converter.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/smart-converter.c')
-rw-r--r--tests/smart-converter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/smart-converter.c b/tests/smart-converter.c
index 58403abf..4f22c68c 100644
--- a/tests/smart-converter.c
+++ b/tests/smart-converter.c
@@ -341,6 +341,9 @@ test_guessed ()
int main (int argc,
char *argv[])
{
+#if !GLIB_CHECK_VERSION (2, 36, 0)
+ g_type_init ();
+#endif
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/smart-converter/utf8-utf8", test_utf8_utf8);