[vala] Allow overriding content property in Comment class



commit ba1e8bcb23e1f4e13293b22ba36d8fcfa4fdf17b
Author: Florian Brosch <flo brosch gmail com>
Date:   Sun Aug 8 17:53:35 2010 +0200

    Allow overriding content property in Comment class

 vala/valacomment.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valacomment.vala b/vala/valacomment.vala
index 0e48f89..181d8a1 100644
--- a/vala/valacomment.vala
+++ b/vala/valacomment.vala
@@ -34,7 +34,7 @@ public class Vala.Comment {
 	/**
 	 * The text describing the referenced source code.
 	 */
-	public string content { set; get; }
+	public virtual string content { set; get; }
 
 	/**
 	 * References the location in the source file where this code node has



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