adium 5893:1e1382dbd844: Use the sharedApplication delegate inst...
commits at adium.im
commits at adium.im
Sun Oct 5 22:46:10 UTC 2014
details: http://hg.adium.im/adium/rev/1e1382dbd844
revision: 5893:1e1382dbd844
branch: (none)
author: Frank Dowsett <wixardy at adium.im>
date: Mon Aug 04 16:49:27 2014 -0400
Use the sharedApplication delegate instead of NSApp's delegate. Fixes #16795
diffs (26 lines):
diff -r fb9288582076 -r 1e1382dbd844 Source/AdiumOTREncryption.m
--- a/Source/AdiumOTREncryption.m Sun Jul 20 23:10:26 2014 -0400
+++ b/Source/AdiumOTREncryption.m Mon Aug 04 16:49:27 2014 -0400
@@ -57,8 +57,6 @@
- (void)setSecurityDetails:(NSDictionary *)securityDetailsDict forChat:(AIChat *)inChat;
-- (void)upgradeOTRIfNeeded;
-
- (void)adiumFinishedLaunching:(NSNotification *)inNotification;
- (void)adiumWillTerminate:(NSNotification *)inNotification;
- (void)updateSecurityDetails:(NSNotification *)inNotification;
diff -r fb9288582076 -r 1e1382dbd844 Source/XtrasInstaller.m
--- a/Source/XtrasInstaller.m Sun Jul 20 23:10:26 2014 -0400
+++ b/Source/XtrasInstaller.m Mon Aug 04 16:49:27 2014 -0400
@@ -343,8 +343,8 @@
//Open the file directly
AILogWithSignature(@"Installing %@",xtraPath);
- success = [[NSApp delegate] application:NSApp
- openTempFile:xtraPath];
+ success = [[[NSApplication sharedApplication] delegate] application:NSApp
+ openTempFile:xtraPath];
if (!success) {
NSLog(@"Installation Error: %@",xtraPath);
More information about the commits
mailing list