From 353c949f64f5882a3149d76ce17de58c31cfc96d Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 10 Mar 2014 10:39:08 -0400 Subject: Removed error returns from sysData.setText() now that we no longer care. --- sysdata_unix.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdata_unix.go') diff --git a/sysdata_unix.go b/sysdata_unix.go index 7b5a78d..38e589c 100644 --- a/sysdata_unix.go +++ b/sysdata_unix.go @@ -183,7 +183,7 @@ func (s *sysData) hide() { <-ret } -func (s *sysData) setText(text string) error { +func (s *sysData) setText(text string) { if classTypes[s.ctype].setText == nil { // does not have concept of text return nil } @@ -194,7 +194,6 @@ func (s *sysData) setText(text string) error { ret <- struct{}{} } <-ret - return nil } func (s *sysData) setRect(x int, y int, width int, height int, winheight int) error { -- cgit v1.2.3