summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'node.go')
-rw-r--r--node.go2
1 files changed, 1 insertions, 1 deletions
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)