[valadoc] libvaladoc/api: Correctly handle construct-only properties



commit 4fa1964b05c54974ea836e8359c629e06e735424
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Feb 11 18:07:26 2014 +0100

    libvaladoc/api: Correctly handle construct-only properties

 src/libvaladoc/api/propertyaccessor.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libvaladoc/api/propertyaccessor.vala b/src/libvaladoc/api/propertyaccessor.vala
index 7d4b255..8c28555 100644
--- a/src/libvaladoc/api/propertyaccessor.vala
+++ b/src/libvaladoc/api/propertyaccessor.vala
@@ -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;
                }
        }
 


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