]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc/api: Correctly handle construct-only properties
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 11 Feb 2014 17:07:26 +0000 (18:07 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 11 Feb 2014 17:07:26 +0000 (18:07 +0100)
src/libvaladoc/api/propertyaccessor.vala

index 7d4b255a82a18ca8f3cc35820dd9c64fabe3b539..8c2855549d3e282859f7246262ea3bb8328dbe0e 100644 (file)
@@ -76,7 +76,7 @@ public class Valadoc.Api.PropertyAccessor : Symbol {
         */
        public bool is_set {
                get {
-                       return type == PropertyAccessorType.SET || type == PropertyAccessorType.CONSTRUCT;
+                       return type == PropertyAccessorType.SET;
                }
        }