summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-28 22:06:35 +0200
committerGitHub <[email protected]>2024-09-28 22:06:35 +0200
commit9fe5923403243e445f7b541d4d3c1be92affb83b (patch)
tree3de014576633b3a394abd21a148650128c87d79c
parent9e63fe3819b19555c39c56a9d098c0ee35fbaf3d (diff)
parentdf57a20f383d2364fd79149de50f3360dde8443b (diff)
Merge pull request #27 from tokyob0t/main
core: lua fix typo
-rw-r--r--core/lua/astal/widget.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lua/astal/widget.lua b/core/lua/astal/widget.lua
index f525f4e..89cc4d5 100644
--- a/core/lua/astal/widget.lua
+++ b/core/lua/astal/widget.lua
@@ -61,7 +61,7 @@ local function set_children(parent, children)
parent:remove(rm)
end
elseif Gtk.Container:is_type_of(parent) and
- !(Astal.Box:is_type_of(parent) or
+ not (Astal.Box:is_type_of(parent) or
Astal.Stack:is_type_of(parent)) then
for _, ch in ipairs(parent:get_children()) do
parent:remove(ch)