summaryrefslogtreecommitdiff
path: root/vala/valatrystatement.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/valatrystatement.vala
parent8058c6751afe65b355674f886f214d259cb72c03 (diff)
downloadvala-0c1eaeabd1067480eba617fd249d8846afa11afb.tar.gz
vala: Remove some public API from expressions and statements
Diffstat (limited to 'vala/valatrystatement.vala')
-rw-r--r--vala/valatrystatement.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/vala/valatrystatement.vala b/vala/valatrystatement.vala
index 43debfbaa..7cbc78a27 100644
--- a/vala/valatrystatement.vala
+++ b/vala/valatrystatement.vala
@@ -31,7 +31,7 @@ public class Vala.TryStatement : CodeNode, Statement {
*/
public Block body {
get { return _body; }
- set {
+ private set {
_body = value;
_body.parent_node = this;
}
@@ -42,7 +42,7 @@ public class Vala.TryStatement : CodeNode, Statement {
*/
public Block? finally_body {
get { return _finally_body; }
- set {
+ private set {
_finally_body = value;
if (_finally_body != null)
_finally_body.parent_node = this;