summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/main.go b/test/main.go
index 3787d0c..da6a8eb 100644
--- a/test/main.go
+++ b/test/main.go
@@ -293,7 +293,6 @@ var labelAlignTest = flag.Bool("label", false, "show Label Alignment test window
var spacingTest = flag.Bool("spacing", false, "margins and padding on Window")
func myMain() {
- <-Ready
if *spacetest != "" {
spaceTest()
return
@@ -554,8 +553,7 @@ func (handler *dialoghandler) setUpEvents() {
func main() {
flag.Parse()
- go myMain()
- err := Go()
+ err := Go(myMain)
if err != nil {
panic(err)
}