[valadoc] - cleanups



commit 8426876ca61aeb53ba32a1d52a1ddfb04c8d993d
Author: Florian Brosch <flo brosch gmail com>
Date:   Tue May 19 23:19:48 2009 +0200

     - cleanups

 THANKS                      |    1 +
 config.h.in                 |    4 ++++
 src/libvaladoc/apitree.vala |   11 +----------
 3 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/THANKS b/THANKS
new file mode 100644
index 0000000..cee188a
--- /dev/null
+++ b/THANKS
@@ -0,0 +1 @@
+Nicolas Joseph
diff --git a/config.h.in b/config.h.in
index 2816188..f7e2723 100644
--- a/config.h.in
+++ b/config.h.in
@@ -57,3 +57,7 @@
 
 /* Version number of package */
 #undef VERSION
+
+/* Valadoc data directory */
+#undef PACKAGE_DATADIR
+
diff --git a/src/libvaladoc/apitree.vala b/src/libvaladoc/apitree.vala
index d3f9fc6..f9522cf 100755
--- a/src/libvaladoc/apitree.vala
+++ b/src/libvaladoc/apitree.vala
@@ -185,13 +185,6 @@ public abstract class Valadoc.DocumentedElement : Basic {
 
 			return sref.comment;
 		}
-		set {
-			SourceReference sref = this.vsymbol.source_reference;
-			if ( sref == null )
-				return ;
-
-			sref.comment = value;
-		}
 	}
 
 	public DocumentationTree? documentation {
@@ -2252,7 +2245,6 @@ public class Valadoc.Method : DocumentedElement, ParameterListHandler, Exception
 		get;
 	}
 
-	// FIXME
 	public string? comment_str {
 		owned get {
 			return this.vmethod.source_reference.comment;
@@ -3355,7 +3347,6 @@ public class Valadoc.Struct : DocumentedElement, SymbolAccessibility, Writeable,
 		return this.search_construction_method ( params, pos );
 	}
 
-	// TODO remove
 	public string? comment_str {
 		owned get {
 			return this.vstruct.source_reference.comment;
@@ -4454,7 +4445,7 @@ public class Valadoc.Tree : Vala.CodeVisitor {
 
 		this.context.accept( this );
 		this.set_type_references ( );
-		this.inheritance ( ); // create a switch!
+		this.inheritance ( ); // add a switch
 		this.add_dependencies_to_source_package ();
 		return true;
 	}



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