summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-09 19:44:41 -0400
committerPietro Gagliardi <[email protected]>2014-03-09 19:44:41 -0400
commitce571bad52589008b8efe6cc0a6e3f76c7f88856 (patch)
treeee797fc408071f929d1a53ae52ba39595d3aab8a /control.go
parentab11900d43b02ab2c01f5963b3cfaf8b623ebd58 (diff)
Removed error returns from Control.preferredSize() since errors are not going to be returned anymore.
Diffstat (limited to 'control.go')
-rw-r--r--control.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/control.go b/control.go
index 3f54afe..2513399 100644
--- a/control.go
+++ b/control.go
@@ -9,5 +9,5 @@ import (
type Control interface {
make(window *sysData) error
setRect(x int, y int, width int, height int, winheight int) error
- preferredSize() (width int, height int, err error)
+ preferredSize() (width int, height int)
}