summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-12 21:33:24 -0500
committerPietro Gagliardi <[email protected]>2014-02-12 21:33:24 -0500
commit3d2df2334e13954c166d46013609856113db4d97 (patch)
tree9cca792aec2040ac24725cad9c7a255f8961a390 /button.go
parent8e2f3b136e041705098f9f8d11941c33f785258a (diff)
Fixed compiler errors. New code structure success!
Diffstat (limited to 'button.go')
-rw-r--r--button.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/button.go b/button.go
index 92ddead..4603ee0 100644
--- a/button.go
+++ b/button.go
@@ -2,7 +2,6 @@
package main
import (
- "fmt"
"sync"
)
@@ -36,9 +35,7 @@ func (b *Button) SetText(text string) (err error) {
b.lock.Lock()
defer b.lock.Unlock()
- if b.pWin != nil && b.pWin.created {
- panic("TODO")
- }
+ // TODO handle created
b.initText = text
return nil
}