summaryrefslogtreecommitdiff
path: root/sysdata_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'sysdata_unix.go')
-rw-r--r--sysdata_unix.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdata_unix.go b/sysdata_unix.go
index 143a64c..aabe13e 100644
--- a/sysdata_unix.go
+++ b/sysdata_unix.go
@@ -162,7 +162,7 @@ func (s *sysData) firstShow() error {
return nil
}
-func (s *sysData) show() error {
+func (s *sysData) show() {
ret := make(chan struct{})
defer close(ret)
uitask <- func() {
@@ -170,10 +170,9 @@ func (s *sysData) show() error {
ret <- struct{}{}
}
<-ret
- return nil
}
-func (s *sysData) hide() error {
+func (s *sysData) hide() {
ret := make(chan struct{})
defer close(ret)
uitask <- func() {
@@ -181,7 +180,6 @@ func (s *sysData) hide() error {
ret <- struct{}{}
}
<-ret
- return nil
}
func (s *sysData) setText(text string) error {