diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-02 10:05:53 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-02 10:05:53 -0400 |
| commit | 982004d05052ef6aadd22dd5c4e7dbca85ab324a (patch) | |
| tree | 517a0f5a5397e6fb886b5e4741aff4fa18ba10d8 /button_darwin.go | |
| parent | 09db0bffffded1a68c562b2d6451c2a2b29ac279 (diff) | |
go fmt. Precursor to bug report filing.
Diffstat (limited to 'button_darwin.go')
| -rw-r--r-- | button_darwin.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/button_darwin.go b/button_darwin.go index 0716365..06fac20 100644 --- a/button_darwin.go +++ b/button_darwin.go @@ -10,16 +10,16 @@ import ( import "C" type button struct { - _id C.id - clicked *event + _id C.id + clicked *event } func newButton(text string) *button { ctext := C.CString(text) defer C.free(unsafe.Pointer(ctext)) b := &button{ - _id: C.newButton(), - clicked: newEvent(), + _id: C.newButton(), + clicked: newEvent(), } C.buttonSetText(b._id, ctext) C.buttonSetDelegate(b._id, unsafe.Pointer(b)) |
