summaryrefslogtreecommitdiff
path: root/redo/controls.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-19 16:47:19 -0400
committerPietro Gagliardi <[email protected]>2014-07-19 16:47:19 -0400
commitfa5b2012d0481600a9fb7bbf9782322a3858cd7d (patch)
treedca671c99de0827943ff68a01ed4901583d3deb0 /redo/controls.go
parent214dc6cd5c810e35b45d035d214e18491e0a80c9 (diff)
Oops, NewButton() should return Button, not the backend type. Fixed.
Diffstat (limited to 'redo/controls.go')
-rw-r--r--redo/controls.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/controls.go b/redo/controls.go
index 6de193a..7a002f0 100644
--- a/redo/controls.go
+++ b/redo/controls.go
@@ -25,6 +25,6 @@ type Button interface {
}
// NewButton creates a new Button with the given label text.
-func NewButton(text string) *button {
+func NewButton(text string) Button {
return newButton(text)
}