summaryrefslogtreecommitdiff
path: root/giscanner/dumper.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-10-16 10:58:08 -0400
committerColin Walters <walters@verbum.org>2012-10-16 10:58:08 -0400
commit448230b381a6ba0394962ca73f35af563b5de4c9 (patch)
tree8ff75402b252b4cbcedd1e8934df3399a5fae1cc /giscanner/dumper.py
parentd86fc68738bb31e1ed26680ca5d1548721bc9de8 (diff)
downloadgobject-introspection-448230b381a6ba0394962ca73f35af563b5de4c9.tar.gz
Drop calls to g_type_init()
And bump our GLib requirement.
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r--giscanner/dumper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index f78d2ae8..04c1f620 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -45,7 +45,9 @@ main(int argc, char **argv)
GError *error = NULL;
const char *introspect_dump_prefix = "--introspect-dump=";
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
%(init_sections)s