From ce571bad52589008b8efe6cc0a6e3f76c7f88856 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 9 Mar 2014 19:44:41 -0400 Subject: Removed error returns from Control.preferredSize() since errors are not going to be returned anymore. --- control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'control.go') 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) } -- cgit v1.2.3