summaryrefslogtreecommitdiff
path: root/vapigen
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2009-10-21 23:53:58 +0200
committerJürg Billeter <j@bitron.ch>2009-10-21 23:55:48 +0200
commit3848a5546a671dd5ab52ffed5b34f0b07f349034 (patch)
tree8faea0494e67d82591d808943f5b3b0b788e78ae /vapigen
parent505ac59834b818a89d44c56b3560924ba2afe0e7 (diff)
downloadvala-3848a5546a671dd5ab52ffed5b34f0b07f349034.tar.gz
Deprecate assigning to construct-only properties
Object (property: value) constructor chain up is recommended to set construct-only properties.
Diffstat (limited to 'vapigen')
-rw-r--r--vapigen/valavapicheck.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/vapigen/valavapicheck.vala b/vapigen/valavapicheck.vala
index 9494f0521..a59b010e2 100644
--- a/vapigen/valavapicheck.vala
+++ b/vapigen/valavapicheck.vala
@@ -29,9 +29,9 @@ class Vala.VAPICheck : Object {
this.context = context;
}
- public CodeContext context { get; construct; }
- public SourceFile gidl { get; construct; }
- public SourceFile metadata { get; construct; }
+ public CodeContext context { get; private set; }
+ public SourceFile gidl { get; private set; }
+ public SourceFile metadata { get; private set; }
private List<string> _scope;
private Set<string> _symbols;