summaryrefslogtreecommitdiff
path: root/sysdata_unix.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_unix.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_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 a910df7..6947e20 100644
--- a/sysdata_unix.go
+++ b/sysdata_unix.go
@@ -275,7 +275,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() {
@@ -283,7 +283,6 @@ func (s *sysData) delete(index int) error {
ret <- struct{}{}
}
<-ret
- return nil
}
func (s *sysData) setProgress(percent int) {