summaryrefslogtreecommitdiff
path: root/sysdata.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-15 14:03:46 -0500
committerPietro Gagliardi <[email protected]>2014-02-15 14:03:46 -0500
commit063293456d929ffab90b8b8c9e609083644b04a1 (patch)
tree11e5a0e7cda2e72b88b6edd77b4ebe3789c3041b /sysdata.go
parentd1768f27873fe277cfe2513203424afdd2a84d5d (diff)
More error handling reduction.
Diffstat (limited to 'sysdata.go')
-rw-r--r--sysdata.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdata.go b/sysdata.go
index 4f5c017..b3b3898 100644
--- a/sysdata.go
+++ b/sysdata.go
@@ -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 {