diff options
author | Jürg Billeter <j@bitron.ch> | 2009-10-21 23:53:58 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2009-10-21 23:55:48 +0200 |
commit | 3848a5546a671dd5ab52ffed5b34f0b07f349034 (patch) | |
tree | 8faea0494e67d82591d808943f5b3b0b788e78ae /vapigen | |
parent | 505ac59834b818a89d44c56b3560924ba2afe0e7 (diff) | |
download | vala-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.vala | 6 |
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; |