summaryrefslogtreecommitdiff
path: root/redo/controls_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/controls_darwin.go')
-rw-r--r--redo/controls_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/controls_darwin.go b/redo/controls_darwin.go
index 9fef658..8d13aaa 100644
--- a/redo/controls_darwin.go
+++ b/redo/controls_darwin.go
@@ -93,10 +93,10 @@ func newCheckbox(text string) *checkbox {
// we don't need to define our own event here; we can just reuse Button's
// (it's all target-action anyway)
-type (c *checkbox) Checked() bool {
+func (c *checkbox) Checked() bool {
return fromBOOL(C.checkboxChecked(c.id))
}
-type (c *checkbox) SetChecked(checked bool) {
+func (c *checkbox) SetChecked(checked bool) {
C.checkboxSetChecked(c.id, toBOOL(checked))
}