[valadoc] Drop --enable-deprecated



commit 00e830cec4451729d310c1d20e7cef21333b4ba5
Author: Florian Brosch <flo brosch gmail com>
Date:   Fri Feb 25 17:31:16 2011 +0100

    Drop --enable-deprecated

 src/libvaladoc/api/tree.vala |    1 -
 src/libvaladoc/settings.vala |    1 -
 src/valadoc/valadoc.vala     |    3 ---
 3 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/libvaladoc/api/tree.vala b/src/libvaladoc/api/tree.vala
index 6fb9f27..0516af6 100644
--- a/src/libvaladoc/api/tree.vala
+++ b/src/libvaladoc/api/tree.vala
@@ -164,7 +164,6 @@ public class Valadoc.Api.Tree {
 		reporter.vreporter = this.context.report;
 
 		this.context.checking = settings.enable_checking;
-		this.context.deprecated = settings.deprecated;
 		this.context.experimental = settings.experimental;
 		this.context.experimental_non_null = settings.experimental || settings.experimental_non_null;
 		this.context.dbus_transformation = !settings.disable_dbus_transformation;
diff --git a/src/libvaladoc/settings.vala b/src/libvaladoc/settings.vala
index f531136..c8e3aaa 100755
--- a/src/libvaladoc/settings.vala
+++ b/src/libvaladoc/settings.vala
@@ -35,7 +35,6 @@ public class Valadoc.Settings : Object {
 	public bool verbose = false;
 
 	public bool enable_checking;
-	public bool deprecated;
 	public bool experimental;
 	public bool experimental_non_null;
 	public bool disable_dbus_transformation;
diff --git a/src/valadoc/valadoc.vala b/src/valadoc/valadoc.vala
index 7c07838..c29ed01 100755
--- a/src/valadoc/valadoc.vala
+++ b/src/valadoc/valadoc.vala
@@ -50,7 +50,6 @@ public class ValaDoc : Object {
 	private static string basedir = null;
 	private static string[] defines;
 	private static bool enable_checking;
-	private static bool deprecated;
 	private static bool experimental;
 	private static bool experimental_non_null = false;
 	private static bool disable_dbus_transformation;
@@ -70,7 +69,6 @@ public class ValaDoc : Object {
 		{ "basedir", 'b', 0, OptionArg.FILENAME, ref basedir, "Base source directory", "DIRECTORY" },
 		{ "define", 'D', 0, OptionArg.STRING_ARRAY, ref defines, "Define SYMBOL", "SYMBOL..." },
 		{ "enable-checking", 0, 0, OptionArg.NONE, ref enable_checking, "Enable additional run-time checks", null },
-		{ "enable-deprecated", 0, 0, OptionArg.NONE, ref deprecated, "Enable deprecated features", null },
 		{ "enable-experimental", 0, 0, OptionArg.NONE, ref experimental, "Enable experimental features", null },
 		{ "enable-experimental-non-null", 0, 0, OptionArg.NONE, ref experimental_non_null, "Enable experimental enhancements for non-null types", null },
 		{ "disable-dbus-transformation", 0, 0, OptionArg.NONE, ref disable_dbus_transformation, "Disable transformation of D-Bus member names", null },
@@ -151,7 +149,6 @@ public class ValaDoc : Object {
 		settings.pluginargs = this.pluginargs;
 
 		settings.enable_checking = enable_checking;
-		settings.deprecated = deprecated;
 		settings.experimental = experimental;
 		settings.experimental_non_null = experimental_non_null;
 		settings.disable_dbus_transformation = disable_dbus_transformation;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]