summaryrefslogtreecommitdiff
path: root/vapigen/valavapigen.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vapigen/valavapigen.vala')
-rw-r--r--vapigen/valavapigen.vala5
1 files changed, 0 insertions, 5 deletions
diff --git a/vapigen/valavapigen.vala b/vapigen/valavapigen.vala
index a6ef441c1..f16e288db 100644
--- a/vapigen/valavapigen.vala
+++ b/vapigen/valavapigen.vala
@@ -35,7 +35,6 @@ class Vala.VAPIGen : Object {
static string library;
[CCode (array_length = false, array_null_terminated = true)]
static string[] packages;
- static string metadata_filename;
CodeContext context;
const OptionEntry[] options = {
@@ -43,7 +42,6 @@ class Vala.VAPIGen : Object {
{ "girdir", 0, 0, OptionArg.FILENAME_ARRAY, ref gir_directories, "Look for GIR bindings in DIRECTORY", "DIRECTORY..." },
{ "pkg", 0, 0, OptionArg.STRING_ARRAY, ref packages, "Include binding for PACKAGE", "PACKAGE..." },
{ "library", 0, 0, OptionArg.STRING, ref library, "Library name", "NAME" },
- { "metadata", 0, 0, OptionArg.FILENAME, ref metadata_filename, "Metadata filename", "FILE" },
{ "directory", 'd', 0, OptionArg.FILENAME, ref directory, "Output directory", "DIRECTORY" },
{ "version", 0, 0, OptionArg.NONE, ref version, "Display version number", null },
{ "quiet", 'q', 0, OptionArg.NONE, ref quiet_mode, "Do not print messages to the console", null },
@@ -138,9 +136,6 @@ class Vala.VAPIGen : Object {
}
var girparser = new GirParser ();
- if (metadata_filename != null) {
- girparser.parse_metadata (metadata_filename);
- }
girparser.parse (context);
if (context.report.get_errors () > 0) {