From 92fb9efce9d9f84e06f574243218e3c6d7478d18 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 11 Mar 2014 13:50:02 -0400 Subject: 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. --- sysdata_unix.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdata_unix.go') 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) { -- cgit v1.2.3