summaryrefslogtreecommitdiff
path: root/checkbox_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-02 10:05:53 -0400
committerPietro Gagliardi <[email protected]>2014-10-02 10:05:53 -0400
commit982004d05052ef6aadd22dd5c4e7dbca85ab324a (patch)
tree517a0f5a5397e6fb886b5e4741aff4fa18ba10d8 /checkbox_darwin.go
parent09db0bffffded1a68c562b2d6451c2a2b29ac279 (diff)
go fmt. Precursor to bug report filing.
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))