diff options
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); } |
