diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-15 20:55:55 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-15 20:55:55 -0400 |
| commit | 999b553e39f8470425b76651c579ae0de42ee375 (patch) | |
| tree | 45f6f326f3122448ad75f999089bc671485c95f0 /bleh_darwin.m | |
| parent | 688121146c38747f175fdfc7d755fa2c361501ff (diff) | |
Removed the stray applicationShouldTerminate: stuff from bleh_darwin.m. (delegateuitask_darwin.m has it already.)
Diffstat (limited to 'bleh_darwin.m')
| -rw-r--r-- | bleh_darwin.m | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bleh_darwin.m b/bleh_darwin.m index 03a9233..41bf839 100644 --- a/bleh_darwin.m +++ b/bleh_darwin.m @@ -188,19 +188,3 @@ void objc_setFont(id what, unsigned int csize) objc_msgSend(what, s_setFont, objc_msgSend(c_NSFont, s_systemFontOfSize, size)); } - -/* --[NSApplicationDelegate applicationShouldTerminate] used to return a BOOL, but now returns a NSApplicationTerminateReply, which is a NSUInteger; hence, here. -*/ - -extern void appDelegate_applicationShouldTerminate(); - -static NSApplicationTerminateReply __appDelegate_applicationShouldTerminate(id self, SEL sel, id app) -{ - appDelegate_applicationShouldTerminate(); - return NSTerminateCancel; // don't quit -} - -void *_appDelegate_applicationShouldTerminate = (void *) __appDelegate_applicationShouldTerminate; - -char *encodedTerminateReply = @encode(NSApplicationTerminateReply); |
