diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-08-26 18:17:24 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-08-26 18:17:24 +0000 |
| commit | 15a535c6bf683f57852e6cbf6ecb68d4bfe79bab (patch) | |
| tree | a96d12b7b93df47e70961a8f5ce17cfd8dea6573 /macosx/plugins | |
| parent | 895f26cffe5b033161417c1cbfbe32e94685a7f7 (diff) | |
| download | pcsxr-15a535c6bf683f57852e6cbf6ecb68d4bfe79bab.tar.gz | |
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
Diffstat (limited to 'macosx/plugins')
6 files changed, 6 insertions, 12 deletions
diff --git a/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m b/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m index 1090df6f..e99bf684 100755 --- a/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m +++ b/macosx/plugins/Bladesio1/macsrc/PluginConfigController.m @@ -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); } diff --git a/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m b/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m index c519a666..e36057c7 100755 --- a/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m +++ b/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m @@ -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); } diff --git a/macosx/plugins/DFInput/macsrc/PadController.m b/macosx/plugins/DFInput/macsrc/PadController.m index 1a4997c6..3c822417 100755 --- a/macosx/plugins/DFInput/macsrc/PadController.m +++ b/macosx/plugins/DFInput/macsrc/PadController.m @@ -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); } diff --git a/macosx/plugins/DFNet/macsrc/PluginConfigController.m b/macosx/plugins/DFNet/macsrc/PluginConfigController.m index bb3b1061..155adf7e 100755 --- a/macosx/plugins/DFNet/macsrc/PluginConfigController.m +++ b/macosx/plugins/DFNet/macsrc/PluginConfigController.m @@ -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); } diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m index c323967d..36ad0db3 100755 --- a/macosx/plugins/DFSound/macsrc/PluginController.m +++ b/macosx/plugins/DFSound/macsrc/PluginController.m @@ -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); } diff --git a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m index d20849fb..5d7a51e9 100755 --- a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m @@ -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); } |
