From b95b7d1b83e6de6fc1b2026ef5708e46e51e999d Mon Sep 17 00:00:00 2001 From: Kazuki Sakamoto Date: Fri, 20 Nov 2015 12:06:33 -0800 Subject: [PATCH] Revert "Fix beginModalSheetForWindow warning." --- src/MacVim/MMVimController.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/MacVim/MMVimController.m b/src/MacVim/MMVimController.m index 088fdaa6d6..2080643d12 100644 --- a/src/MacVim/MMVimController.m +++ b/src/MacVim/MMVimController.m @@ -1532,15 +1532,10 @@ - (void)handleShowDialog:(NSDictionary *)attr } } -#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_10 - [alert beginSheetModalForWindow:[windowController window] - completionHandler: ^(NSModalResponse code) { [self alertDidEnd:alert code:code context:NULL]; }]; -#else [alert beginSheetModalForWindow:[windowController window] modalDelegate:self didEndSelector:@selector(alertDidEnd:code:context:) contextInfo:NULL]; -#endif [alert release]; }