summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-08 11:06:50 -0500
committerJeff Carr <[email protected]>2023-04-08 11:06:50 -0500
commitda6a4363226f14aa893be02cb4a73cbf34fd77e7 (patch)
tree8f1f2c5d59e72961c87ff9c9ede0a4b3f2ab9c3f /window.go
parentfa0718ff48a2ac2f8b54aed3060101f159484c86 (diff)
andlabs: the binary tree limps along again
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
-rw-r--r--window.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.go b/window.go
index 95cb92c..dbdca01 100644
--- a/window.go
+++ b/window.go
@@ -32,7 +32,7 @@ func NewWindow() *Node {
}
}
// Windows are created off of the master node of the Binary Tree
- newNode = Config.rootNode.New(Config.Title, toolkit.Window, custom)
+ newNode = Config.rootNode.newNode(Config.Title, toolkit.Window, custom)
log(logInfo, "NewWindow()", Config.Title)
@@ -53,7 +53,7 @@ func (n *Node) NewWindow2(title string) *Node {
var newNode *Node
// Windows are created off of the master node of the Binary Tree
- newNode = n.New(Config.Title, toolkit.Window, StandardExit)
+ newNode = n.newNode(Config.Title, toolkit.Window, StandardExit)
log(logInfo, "NewWindow()", Config.Title)