diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-15 14:03:46 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-15 14:03:46 -0500 |
| commit | 063293456d929ffab90b8b8c9e609083644b04a1 (patch) | |
| tree | 11e5a0e7cda2e72b88b6edd77b4ebe3789c3041b /sysdata.go | |
| parent | d1768f27873fe277cfe2513203424afdd2a84d5d (diff) | |
More error handling reduction.
Diffstat (limited to 'sysdata.go')
| -rw-r--r-- | sysdata.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -30,7 +30,7 @@ func (c *cSysData) setRect(x int, y int, width int, height int) error { func (c *cSysData) isChecked() bool { panic(runtime.GOOS + " sysData does not define isChecked()") } -func (c *cSysData) text() (string, error) { +func (c *cSysData) text() string { panic(runtime.GOOS + " sysData does not define text()") } func (c *cSysData) append(string) error { @@ -39,13 +39,13 @@ func (c *cSysData) append(string) error { func (c *cSysData) insertBefore(string, int) error { panic(runtime.GOOS + " sysData does not define insertBefore()") } -func (c *cSysData) selectedIndex() (int, error) { +func (c *cSysData) selectedIndex() int { panic(runtime.GOOS + " sysData does not define selectedIndex()") } -func (c *cSysData) selectedIndices() ([]int, error) { +func (c *cSysData) selectedIndices() []int { panic(runtime.GOOS + " sysData does not define selectedIndices()") } -func (c *cSysData) selectedTexts() ([]string, error) { +func (c *cSysData) selectedTexts() []string { panic(runtime.GOOS + " sysData does not define selectedIndex()") } func (c *cSysData) setWindowSize(int, int) error { |
