summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-30 11:56:34 -0700
committerJeff Carr <[email protected]>2019-05-30 11:56:34 -0700
commitd617938702a9f8d9cb3a6a5a04decba6b198d116 (patch)
tree62b0d735ea596a40382f0389dc10ade90337a001 /structs.go
parentc15c731e7f7746dc5cd85cde4650a4e44a4837c7 (diff)
change to pointers correctly
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index a930047..ebca64d 100644
--- a/structs.go
+++ b/structs.go
@@ -41,7 +41,7 @@ type GuiData struct {
// A map of all buttons everywhere on all
// windows, all tabs, across all goroutines
// This is "GLOBAL"
- AllButtons []GuiButton
+ AllButtons []*GuiButton
ButtonMap map[*GuiButton][]func (*GuiButton)
// A map of all the entry boxes