summaryrefslogtreecommitdiff
path: root/uitask_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-29 14:08:01 -0400
committerPietro Gagliardi <[email protected]>2014-06-29 14:08:01 -0400
commit3ade409ddebc48f9960415816d2f4439c6d5d4ae (patch)
treebe4cbd4434bcc8ae6d8f21ba1ae0d3cafb09392a /uitask_darwin.go
parent580b06638fb8b59617c93a180cb8808623fb4521 (diff)
FIxed compilation errors in the Mac OS X build. It works, but I still need to fix dialogs before I can push anything.
Diffstat (limited to 'uitask_darwin.go')
-rw-r--r--uitask_darwin.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/uitask_darwin.go b/uitask_darwin.go
index 695b5c5..317cb12 100644
--- a/uitask_darwin.go
+++ b/uitask_darwin.go
@@ -4,7 +4,6 @@ package ui
import (
"fmt"
- "runtime"
"unsafe"
)
@@ -32,7 +31,7 @@ func ui() {
go func() {
for {
select {
- case f := range uitask:
+ case f := <-uitask:
C.douitask(appDelegate, unsafe.Pointer(&f))
case <-Stop:
C.breakMainLoop()