From da6a4363226f14aa893be02cb4a73cbf34fd77e7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 8 Apr 2023 11:06:50 -0500 Subject: andlabs: the binary tree limps along again Signed-off-by: Jeff Carr --- node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node.go') diff --git a/node.go b/node.go index 30ebf02..1454858 100644 --- a/node.go +++ b/node.go @@ -5,7 +5,7 @@ import "git.wit.org/wit/gui/toolkit" /* generic function to create a new node on the binary tree */ -func (n *Node) New(title string, t toolkit.WidgetType, custom func()) *Node { +func (n *Node) newNode(title string, t toolkit.WidgetType, custom func()) *Node { var newN *Node newN = addNode(title) -- cgit v1.2.3