datastruct: fix split tree ascii diagram

This commit is contained in:
Mitchell Hashimoto
2025-08-07 11:41:15 -07:00
parent 75dd8e46b5
commit fbe28477ff
2 changed files with 143 additions and 32 deletions

View File

@@ -379,7 +379,7 @@ pub const SplitTree = extern struct {
) *gtk.Widget {
switch (tree.nodes[current]) {
.leaf => |v| {
// We have to setup our signal handlers.
v.as(gtk.Widget).unparent();
return v.as(gtk.Widget);
},