summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-08-14 23:48:16 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:53:20 +0200
commit85a1b423bbd5bdc27c76c77d0b9d30174f05d6e2 (patch)
tree30333cb2f020e4d3d7814eb34617f350a33d3a5f /tools
parent1ff9297507926e33e4fa57984391ffa950024d85 (diff)
downloadgobject-introspection-85a1b423bbd5bdc27c76c77d0b9d30174f05d6e2.tar.gz
g-ir-compiler: remove references to --code, remove --no-init options
The "--code" option was removed years ago in ac81f3e8c5f1c380d16677232d67466e739da283 so remove references to it from README and g-ir-compiler(1) Remove the "--no-init" option from g-ir-compiler and g-ir-compiler(1) as it was documented to "can only be used if --code is also specified", so no reason to keep it around.
Diffstat (limited to 'tools')
-rw-r--r--tools/compiler.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/compiler.c b/tools/compiler.c
index f8e8a90c..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" },