Use NSApp instead of +[NSApplication sharedApplication] on the plug-ins.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86931 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
parent
895f26cffe
commit
15a535c6bf
|
@ -3231,7 +3231,6 @@
|
|||
../macosx,
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||
PROVISIONING_PROFILE = "";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
|
|
@ -37,7 +37,6 @@ static PluginConfigController *windowController = nil;
|
|||
void AboutDlgProc()
|
||||
{
|
||||
// Get parent application instance
|
||||
NSApplication *app = [NSApplication sharedApplication];
|
||||
NSBundle *bundle = [NSBundle bundleWithIdentifier:APP_ID];
|
||||
|
||||
// Get Credits.rtf
|
||||
|
@ -67,7 +66,7 @@ void AboutDlgProc()
|
|||
credits, @"Credits",
|
||||
nil];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[app orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
[NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
});
|
||||
RELEASEOBJ(infoPaneDict);
|
||||
}
|
||||
|
|
|
@ -40,7 +40,6 @@ static PluginConfigController *windowController = nil;
|
|||
void AboutDlgProc()
|
||||
{
|
||||
// Get parent application instance
|
||||
NSApplication *app = [NSApplication sharedApplication];
|
||||
NSBundle *bundle = [NSBundle bundleWithIdentifier:APP_ID];
|
||||
|
||||
// Get Credits.rtf
|
||||
|
@ -70,7 +69,7 @@ void AboutDlgProc()
|
|||
credits, @"Credits",
|
||||
nil];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[app orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
[NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
});
|
||||
RELEASEOBJ(infoPaneDict);
|
||||
}
|
||||
|
|
|
@ -41,7 +41,6 @@ static PadController *padController = nil;
|
|||
void DoAbout()
|
||||
{
|
||||
// Get parent application instance
|
||||
NSApplication *app = [NSApplication sharedApplication];
|
||||
NSBundle *bundle = [NSBundle bundleWithIdentifier:APP_ID];
|
||||
|
||||
// Get Credits.rtf
|
||||
|
@ -70,7 +69,7 @@ void DoAbout()
|
|||
credits, @"Credits",
|
||||
nil];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[app orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
[NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
});
|
||||
RELEASEOBJ(infoPaneDict);
|
||||
}
|
||||
|
|
|
@ -44,7 +44,6 @@ static inline void RunOnMainThreadSync(dispatch_block_t block)
|
|||
void AboutDlgProc()
|
||||
{
|
||||
// Get parent application instance
|
||||
NSApplication *app = [NSApplication sharedApplication];
|
||||
NSBundle *bundle = [NSBundle bundleWithIdentifier:APP_ID];
|
||||
|
||||
// Get Credits.rtf
|
||||
|
@ -72,7 +71,7 @@ void AboutDlgProc()
|
|||
credits, @"Credits",
|
||||
nil];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[app orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
[NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
});
|
||||
RELEASEOBJ(infoPaneDict);
|
||||
}
|
||||
|
|
|
@ -56,7 +56,6 @@ static inline void RunOnMainThreadSync(dispatch_block_t block)
|
|||
void DoAbout()
|
||||
{
|
||||
// Get parent application instance
|
||||
NSApplication *app = [NSApplication sharedApplication];
|
||||
NSBundle *bundle = [NSBundle bundleWithIdentifier:APP_ID];
|
||||
|
||||
// Get Credits.rtf
|
||||
|
@ -83,7 +82,7 @@ void DoAbout()
|
|||
credits, @"Credits",
|
||||
nil];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[app orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
[NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
});
|
||||
RELEASEOBJ(infoPaneDict);
|
||||
}
|
||||
|
|
|
@ -46,7 +46,6 @@ static PluginConfigController *windowController = nil;
|
|||
void AboutDlgProc()
|
||||
{
|
||||
// Get parent application instance
|
||||
NSApplication *app = [NSApplication sharedApplication];
|
||||
NSBundle *bundle = [NSBundle bundleWithIdentifier:APP_ID];
|
||||
|
||||
// Get Credits.rtf
|
||||
|
@ -75,7 +74,7 @@ void AboutDlgProc()
|
|||
credits, @"Credits",
|
||||
nil];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[app orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
[NSApp orderFrontStandardAboutPanelWithOptions:infoPaneDict];
|
||||
});
|
||||
RELEASEOBJ(infoPaneDict);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user