diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-26 15:39:04 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-26 15:39:04 -0400 |
| commit | 8e9607083b7e540a8897aa8b923e7ac4f3df9b12 (patch) | |
| tree | 615efc60d8106550251d4e3229bb57acd15fe630 /redo/uitask_darwin.m | |
| parent | 428c20d4f58cef7bb1d00895148dbe33bba5dc2d (diff) | |
Got rid of the modal queue now that it's no longer needed.
Diffstat (limited to 'redo/uitask_darwin.m')
| -rw-r--r-- | redo/uitask_darwin.m | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/redo/uitask_darwin.m b/redo/uitask_darwin.m index 4a2173f..e69882a 100644 --- a/redo/uitask_darwin.m +++ b/redo/uitask_darwin.m @@ -2,7 +2,6 @@ #import "objc_darwin.h" #import "_cgo_export.h" -#import "modalqueue.h" #import <Cocoa/Cocoa.h> #define toNSWindow(x) ((NSWindow *) (x)) @@ -130,13 +129,9 @@ void uistop(void) [NSApp postEvent:e atStart:NO]; // let pending events take priority } -// we use the modal queue because dispatch_suspend()/dispatch_resume() can't be used with the main queue - // thanks to mikeash in irc.freenode.net/#macdev for suggesting the use of Grand Central Dispatch and blocks for this void issue(void *what) { - if (queueIfModal(what)) - return; dispatch_async(dispatch_get_main_queue(), ^{ doissue(what); }); |
