summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/common.go
diff options
context:
space:
mode:
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) {