diff --git a/ui/drivers/cocoa/cocoa_common.h b/ui/drivers/cocoa/cocoa_common.h
index 9a046aea17..f71ee82dfb 100644
--- a/ui/drivers/cocoa/cocoa_common.h
+++ b/ui/drivers/cocoa/cocoa_common.h
@@ -209,8 +209,6 @@ void get_ios_version(int *major, int *minor);
 
 @property (nonatomic, retain) NSWindow IBOutlet* window;
 
-+ (RetroArch_OSX*)get;
-
 - (void)loadingCore:(NSString*)core withFile:(const char*)file;
 - (void)unloadingCore;
 
diff --git a/ui/drivers/ui_cocoa.m b/ui/drivers/ui_cocoa.m
index 7a753b32c1..34dcf91a8f 100644
--- a/ui/drivers/ui_cocoa.m
+++ b/ui/drivers/ui_cocoa.m
@@ -156,11 +156,6 @@ static char** waiting_argv;
    [super dealloc];
 }
 
-+ (RetroArch_OSX*)get
-{
-   return (RetroArch_OSX*)[[NSApplication sharedApplication] delegate];
-}
-
 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
 {
    apple_platform = self;
@@ -418,7 +413,7 @@ void apple_display_alert(const char *message, const char *title)
     [alert setMessageText:(*title) ? BOXSTRING(title) : BOXSTRING("RetroArch")];
     [alert setInformativeText:BOXSTRING(message)];
     [alert setAlertStyle:NSInformationalAlertStyle];
-    [alert beginSheetModalForWindow:[RetroArch_OSX get].window
+    [alert beginSheetModalForWindow:((RetroArch_OSX*)[[NSApplication sharedApplication] delegate]).window
                       modalDelegate:apple_platform
                      didEndSelector:@selector(alertDidEnd:returnCode:contextInfo:)
                         contextInfo:nil];