diff options
author | noname <[email protected]> | 2025-03-20 10:55:00 +1100 |
---|---|---|
committer | noname <[email protected]> | 2025-03-20 15:12:09 +1100 |
commit | 873c42ff4f6b1f35c00fc0a3536c3a851f50e7b8 (patch) | |
tree | 70104c09fda4776e0a3c2cb674b02c3ed09a4ce3 /lib/sway/node.vala | |
parent | fa79458c7f79e22c59485e14c15ddac2ea3184ab (diff) |
make setters private
Diffstat (limited to 'lib/sway/node.vala')
-rw-r--r-- | lib/sway/node.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sway/node.vala b/lib/sway/node.vala index 8f1e925..01ff387 100644 --- a/lib/sway/node.vala +++ b/lib/sway/node.vala @@ -10,9 +10,9 @@ public class Node : Object { public Rectangle deco_rect { get; private set; } public NodeType node_type { get; protected set;} - public weak Node parent; + public weak Node parent { get; private set; } - public List<weak Node> nodes; + public unowned List<weak Node> nodes { get; private set; } public List<weak Window> windows { owned get { var arr = new List<weak Window> (); foreach (var node in nodes) { |