diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-10 10:39:08 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-10 10:39:08 -0400 |
| commit | 353c949f64f5882a3149d76ce17de58c31cfc96d (patch) | |
| tree | a4aa36bcbddb3d7440f6e77880795903ca30aff3 /sysdata_unix.go | |
| parent | 65663c05331f93b1fa94533ef206a0aaa2827896 (diff) | |
Removed error returns from sysData.setText() now that we no longer care.
Diffstat (limited to 'sysdata_unix.go')
| -rw-r--r-- | sysdata_unix.go | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |
