From 4b7e91493c900028dc6120d55005f51d5242be02 Mon Sep 17 00:00:00 2001 From: noname Date: Fri, 7 Mar 2025 18:10:37 +1100 Subject: make setter of properties private --- lib/sway/node.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sway/node.vala') diff --git a/lib/sway/node.vala b/lib/sway/node.vala index 13fbcd1..9a0332c 100644 --- a/lib/sway/node.vala +++ b/lib/sway/node.vala @@ -1,6 +1,6 @@ namespace AstalSway { public class Node : Object { - public int id {get; private set; } + public int id { get; private set; } public bool urgent { get; private set; } public string name { get; private set; } public string layout { get; private set; } @@ -8,7 +8,7 @@ public class Node : Object { public Rectangle rect { get; private set; } public Rectangle window_rect { get; private set; } public Rectangle deco_rect { get; private set; } - public NodeType node_type {get; protected set;} + public NodeType node_type { get; protected set;} public weak Node parent; -- cgit v1.2.3