summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
}