summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-03 10:27:46 -0400
committerPietro Gagliardi <[email protected]>2014-07-03 10:27:46 -0400
commitf7dedc8cb05960134234f242042a4f00d88aaf9e (patch)
tree616d7a0d819df91520fe76b6613d4a5af1af7fd7 /test
parent9eb9aa82c02a0276df38428895bd840ec8caea02 (diff)
Added the start() function and fixed compilation errors. Everything seems to work...
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)
}