From 355e5ec968427c2b07b78fec12224f31a65df740 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 14 Nov 2022 14:30:28 -0600 Subject: setup building without plugins on windows notes from github remote keep removing os.Exit() rename from andlabs2 back to andlabs rename files for windows andlabs/ui gocui always sets STDOUT a file in /tmp/ Signed-off-by: Jeff Carr --- toolkit/andlabs/common.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'toolkit/andlabs/common.go') diff --git a/toolkit/andlabs/common.go b/toolkit/andlabs/common.go index 451f9d6..fc6cbe8 100644 --- a/toolkit/andlabs/common.go +++ b/toolkit/andlabs/common.go @@ -1,4 +1,4 @@ -package toolkit +package main import "log" @@ -9,7 +9,7 @@ func init() { setDefaultBehavior(true) } -func (t Toolkit) commonChange(widget string) { +func (t andlabsT) commonChange(widget string) { s := t.String() if (DebugToolkit) { log.Println("gui.Toolkit.ui.OnChanged() =", s) @@ -36,7 +36,7 @@ func (t Toolkit) commonChange(widget string) { // does some sanity checks on the internal structs of the binary tree // TODO: probably this should not panic unless it's running in devel mode (?) -func (t *Toolkit) broken() bool { +func (t *andlabsT) broken() bool { if (t.uiBox == nil) { if (t.uiWindow != nil) { if (DebugToolkit) { -- cgit v1.2.3