diff options
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 } |
