summaryrefslogtreecommitdiff
path: root/vala/valadostatement.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-02-20 11:20:53 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2020-03-24 14:19:28 +0100
commit0c1eaeabd1067480eba617fd249d8846afa11afb (patch)
treecdd13eae203a53b05dcff17c33cfb495c97a48e3 /vala/valadostatement.vala
parent8058c6751afe65b355674f886f214d259cb72c03 (diff)
downloadvala-0c1eaeabd1067480eba617fd249d8846afa11afb.tar.gz
vala: Remove some public API from expressions and statements
Diffstat (limited to 'vala/valadostatement.vala')
-rw-r--r--vala/valadostatement.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/vala/valadostatement.vala b/vala/valadostatement.vala
index fb9095858..d994b5abd 100644
--- a/vala/valadostatement.vala
+++ b/vala/valadostatement.vala
@@ -33,7 +33,7 @@ public class Vala.DoStatement : CodeNode, Statement {
get {
return _body;
}
- set {
+ private set {
_body = value;
_body.parent_node = this;
}
@@ -46,7 +46,7 @@ public class Vala.DoStatement : CodeNode, Statement {
get {
return _condition;
}
- set {
+ private set {
_condition = value;
_condition.parent_node = this;
}