summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2022-11-14 14:30:28 -0600
committerJeff Carr <[email protected]>2022-11-14 14:30:28 -0600
commit355e5ec968427c2b07b78fec12224f31a65df740 (patch)
tree99754f9f6888c166a435d14e3a71cc9304f14970 /toolkit/andlabs/common.go
parent207cf7ea16f1da8fa9f893504d77a2856298cc22 (diff)
setup building without plugins on windowsv0.5.1
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 <[email protected]>
Diffstat (limited to 'toolkit/andlabs/common.go')
-rw-r--r--toolkit/andlabs/common.go6
1 files changed, 3 insertions, 3 deletions
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) {