summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'node.go')
-rw-r--r--node.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/node.go b/node.go
index 93d0ca8..daba6d5 100644
--- a/node.go
+++ b/node.go
@@ -5,12 +5,11 @@ import "git.wit.org/wit/gui/toolkit"
/*
generic function to create a new node on the binary tree
*/
-func (n *Node) newNode(title string, t toolkit.WidgetType, custom func()) *Node {
+func (n *Node) newNode(title string, t toolkit.WidgetType) *Node {
var newN *Node
newN = addNode(title)
newN.WidgetType = t
- newN.Custom = custom
if n.WidgetType == toolkit.Grid {
n.gridIncrement()