summaryrefslogtreecommitdiff
path: root/checkbox_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'checkbox_darwin.go')
-rw-r--r--checkbox_darwin.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/checkbox_darwin.go b/checkbox_darwin.go
index ac3375a..126662c 100644
--- a/checkbox_darwin.go
+++ b/checkbox_darwin.go
@@ -10,16 +10,16 @@ import (
import "C"
type checkbox struct {
- _id C.id
- toggled *event
+ _id C.id
+ toggled *event
}
func newCheckbox(text string) *checkbox {
ctext := C.CString(text)
defer C.free(unsafe.Pointer(ctext))
c := &checkbox{
- _id: C.newCheckbox(),
- toggled: newEvent(),
+ _id: C.newCheckbox(),
+ toggled: newEvent(),
}
C.buttonSetText(c._id, ctext)
C.checkboxSetDelegate(c._id, unsafe.Pointer(c))