From d617938702a9f8d9cb3a6a5a04decba6b198d116 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 30 May 2019 11:56:34 -0700 Subject: change to pointers correctly Signed-off-by: Jeff Carr --- structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'structs.go') 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 -- cgit v1.2.3