diff options
Diffstat (limited to 'tools/compiler.c')
-rw-r--r-- | tools/compiler.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/compiler.c b/tools/compiler.c index 7e17f1bd..23d76db8 100644 --- a/tools/compiler.c +++ b/tools/compiler.c @@ -36,7 +36,6 @@ #include "girparser.h" #include "gitypelib-internal.h" -gboolean no_init = FALSE; gchar **includedirs = NULL; gchar **input = NULL; gchar *output = NULL; @@ -129,7 +128,6 @@ static void log_handler (const gchar *log_domain, static GOptionEntry options[] = { - { "no-init", 0, 0, G_OPTION_ARG_NONE, &no_init, "do not create _init() function", NULL }, { "includedir", 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &includedirs, "include directories in GIR search path", NULL }, { "output", 'o', 0, G_OPTION_ARG_FILENAME, &output, "output file", "FILE" }, { "module", 'm', 0, G_OPTION_ARG_STRING, &mname, "module to compile", "NAME" }, @@ -174,8 +172,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]); |