diff options
| author | Jeff Carr <[email protected]> | 2023-05-09 20:25:37 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-05-09 20:25:37 -0500 |
| commit | 26b06253d540fbcac2ae1372aa7fc0b1089bab98 (patch) | |
| tree | 9afc2600ce0633e85990f8376091d93fec7c6d3a /node.go | |
| parent | 45ef7f37c4af0495ccf988f2f726aaea24a999e4 (diff) | |
more code cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'node.go')
| -rw-r--r-- | node.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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() |
