diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-30 22:42:48 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-30 22:42:48 -0400 |
| commit | 990d50e9a153681a091a23734f8962e728fde1b0 (patch) | |
| tree | f82e16c54e2a5c29ac4d748009d007ef4f781591 /dialog_darwin.go | |
| parent | e8a7dd0b8788f14b2ecc04ecaef8e77e4d2b68e1 (diff) | |
Rolled back all those changes; I'm stupid.
Diffstat (limited to 'dialog_darwin.go')
| -rw-r--r-- | dialog_darwin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dialog_darwin.go b/dialog_darwin.go index fe44d8f..038c640 100644 --- a/dialog_darwin.go +++ b/dialog_darwin.go @@ -19,7 +19,7 @@ func dialog_send(pchan unsafe.Pointer, res C.intptr_t) { func _msgBox(parent *Window, primarytext string, secondarytext string, style uintptr) chan int { ret := make(chan int) - uitask(func() { + uitask <- func() { var pwin C.id = nil if parent != dialogWindow { @@ -36,7 +36,7 @@ func _msgBox(parent *Window, primarytext string, secondarytext string, style uin case 1: // error C.msgBoxError(pwin, primary, secondary, unsafe.Pointer(&ret)) } - }) + } return ret } |
