summaryrefslogtreecommitdiff
path: root/tools
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 /tools
parentd86fc68738bb31e1ed26680ca5d1548721bc9de8 (diff)
downloadgobject-introspection-448230b381a6ba0394962ca73f35af563b5de4c9.tar.gz
Drop calls to g_type_init()
And bump our GLib requirement.
Diffstat (limited to 'tools')
-rw-r--r--tools/compiler.c2
-rw-r--r--tools/generate.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/tools/compiler.c b/tools/compiler.c
index 7e17f1bd..f8e8a90c 100644
--- a/tools/compiler.c
+++ b/tools/compiler.c
@@ -174,8 +174,6 @@ main (int argc, char ** argv)
g_debug ("[parsing] start, %d includes",
includedirs ? g_strv_length (includedirs) : 0);
- g_type_init ();
-
if (includedirs != NULL)
for (i = 0; includedirs[i]; i++)
g_irepository_prepend_search_path (includedirs[i]);
diff --git a/tools/generate.c b/tools/generate.c
index 0426512f..3e310978 100644
--- a/tools/generate.c
+++ b/tools/generate.c
@@ -52,8 +52,6 @@ main (int argc, char *argv[])
g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL);
- g_type_init ();
-
g_typelib_check_sanity ();
context = g_option_context_new ("");