summaryrefslogtreecommitdiff
path: root/gir
diff options
context:
space:
mode:
Diffstat (limited to 'gir')
-rw-r--r--gir/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gir/test.c b/gir/test.c
index c7b9d60..4758c5c 100644
--- a/gir/test.c
+++ b/gir/test.c
@@ -8,7 +8,9 @@ main (int argc, char *argv[])
AnthyGContext *obj = NULL;
gchar *string = NULL;
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
obj = anthy_gcontext_new ();