summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-05-09 20:25:37 -0500
committerJeff Carr <[email protected]>2023-05-09 20:25:37 -0500
commit26b06253d540fbcac2ae1372aa7fc0b1089bab98 (patch)
tree9afc2600ce0633e85990f8376091d93fec7c6d3a /main.go
parent45ef7f37c4af0495ccf988f2f726aaea24a999e4 (diff)
more code cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 4017314..17b69ba 100644
--- a/main.go
+++ b/main.go
@@ -24,10 +24,10 @@ func init() {
me.rootNode.WidgetType = toolkit.Root
// used to pass debugging flags to the toolkit plugins
- me.flag = me.rootNode.newNode("flag", 0, nil)
+ me.flag = me.rootNode.newNode("flag", 0)
me.flag.WidgetType = toolkit.Flag
- me.flag = me.rootNode.newNode("stdout", 0, nil)
+ me.flag = me.rootNode.newNode("stdout", 0)
me.flag.WidgetType = toolkit.Stdout
me.guiChan = make(chan toolkit.Action, 1)