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 /label_unix.go | |
| parent | 09db0bffffded1a68c562b2d6451c2a2b29ac279 (diff) | |
go fmt. Precursor to bug report filing.
Diffstat (limited to 'label_unix.go')
| -rw-r--r-- | label_unix.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/label_unix.go b/label_unix.go index 45a3dad..750a7f8 100644 --- a/label_unix.go +++ b/label_unix.go @@ -14,10 +14,10 @@ import ( import "C" type label struct { - _widget *C.GtkWidget - misc *C.GtkMisc - label *C.GtkLabel - standalone bool + _widget *C.GtkWidget + misc *C.GtkMisc + label *C.GtkLabel + standalone bool } func finishNewLabel(text string, standalone bool) *label { @@ -25,10 +25,10 @@ func finishNewLabel(text string, standalone bool) *label { defer freegstr(ctext) widget := C.gtk_label_new(ctext) l := &label{ - _widget: widget, - misc: (*C.GtkMisc)(unsafe.Pointer(widget)), - label: (*C.GtkLabel)(unsafe.Pointer(widget)), - standalone: standalone, + _widget: widget, + misc: (*C.GtkMisc)(unsafe.Pointer(widget)), + label: (*C.GtkLabel)(unsafe.Pointer(widget)), + standalone: standalone, } return l } |
