summaryrefslogtreecommitdiff
path: root/sysdata_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-11 13:50:02 -0400
committerPietro Gagliardi <[email protected]>2014-03-11 13:50:02 -0400
commit92fb9efce9d9f84e06f574243218e3c6d7478d18 (patch)
tree8dab00a7dd655e9dd04008da50e6eb38bbdd939d /sysdata_darwin.go
parentc43583fe20a3a54920774fb762c74d22b60b70dc (diff)
Removed error returns from Combobox.Delete(), Listbox.Delete(), and sysData.delete(), since they are no longer used. Updated the TODO file to mark this issue closed.
Diffstat (limited to 'sysdata_darwin.go')
-rw-r--r--sysdata_darwin.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdata_darwin.go b/sysdata_darwin.go
index 32b94c3..85b6c73 100644
--- a/sysdata_darwin.go
+++ b/sysdata_darwin.go
@@ -449,7 +449,7 @@ func (s *sysData) setWindowSize(width int, height int) error {
return nil
}
-func (s *sysData) delete(index int) error {
+func (s *sysData) delete(index int) {
ret := make(chan struct{})
defer close(ret)
uitask <- func() {
@@ -457,7 +457,6 @@ func (s *sysData) delete(index int) error {
ret <- struct{}{}
}
<-ret
- return nil
}
func (s *sysData) setProgress(percent int) {