summaryrefslogtreecommitdiff
path: root/sysdata_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'sysdata_unix.go')
-rw-r--r--sysdata_unix.go3
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 {