diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-10 10:39:08 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-10 10:39:08 -0400 |
| commit | 353c949f64f5882a3149d76ce17de58c31cfc96d (patch) | |
| tree | a4aa36bcbddb3d7440f6e77880795903ca30aff3 /sysdata_darwin.go | |
| parent | 65663c05331f93b1fa94533ef206a0aaa2827896 (diff) | |
Removed error returns from sysData.setText() now that we no longer care.
Diffstat (limited to 'sysdata_darwin.go')
| -rw-r--r-- | sysdata_darwin.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdata_darwin.go b/sysdata_darwin.go index e58ad9c..be17825 100644 --- a/sysdata_darwin.go +++ b/sysdata_darwin.go @@ -340,7 +340,7 @@ func (s *sysData) hide() { <-ret } -func (s *sysData) setText(text string) error { +func (s *sysData) setText(text string) { var zeroSel C.SEL if classTypes[s.ctype].settextsel == zeroSel { // does not have concept of text @@ -353,7 +353,6 @@ func (s *sysData) setText(text string) error { ret <- struct{}{} } <-ret - return nil } func (s *sysData) setRect(x int, y int, width int, height int, winheight int) error { |
