summaryrefslogtreecommitdiff
path: root/sysdata_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-09 21:56:17 -0400
committerPietro Gagliardi <[email protected]>2014-03-09 21:56:17 -0400
commitf72d6c990064f9ea651dd3fb80bf0b20a805f0b6 (patch)
tree2e0c70b2d9315848e0786203b308e699455924ac /sysdata_unix.go
parent3ed9c0b75d30cb427082478f445f4d869a9540fd (diff)
Removed now-unused error returns from sysData.show() and sysData.hide().
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 {