summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-06 19:48:24 -0500
committerJeff Carr <[email protected]>2023-04-06 19:48:24 -0500
commit8649f37a56bc31928d69077545f1e323a794c61a (patch)
treea3567c8f8a6b3caa8402a0640baa56630dcf972e /toolkit/andlabs/structs.go
parent6fb44679a28b29b60018b037c6f328cf3e98f934 (diff)
andlabs: use callback channel for window close
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/structs.go')
-rw-r--r--toolkit/andlabs/structs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/andlabs/structs.go b/toolkit/andlabs/structs.go
index 9cc1b9d..4ab83a2 100644
--- a/toolkit/andlabs/structs.go
+++ b/toolkit/andlabs/structs.go
@@ -6,7 +6,8 @@ import "github.com/andlabs/ui"
import _ "github.com/andlabs/ui/winmanifest"
var andlabs map[int]*andlabsT
-var callback func(int) bool
+// var callback func(int) bool
+var callback chan toolkit.Action
// stores the raw toolkit internals
type andlabsT struct {