Skip to content

Commit a1e5b6e

Browse files
committed
Merge pull request #153 from macvim-dev/revert-80-modal-sheet-warnings
Revert "Fix beginModalSheetForWindow warning." to fix #152
2 parents 715845e + b95b7d1 commit a1e5b6e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/MacVim/MMVimController.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,15 +1532,10 @@ - (void)handleShowDialog:(NSDictionary *)attr
15321532
}
15331533
}
15341534

1535-
#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_10
1536-
[alert beginSheetModalForWindow:[windowController window]
1537-
completionHandler: ^(NSModalResponse code) { [self alertDidEnd:alert code:code context:NULL]; }];
1538-
#else
15391535
[alert beginSheetModalForWindow:[windowController window]
15401536
modalDelegate:self
15411537
didEndSelector:@selector(alertDidEnd:code:context:)
15421538
contextInfo:NULL];
1543-
#endif
15441539

15451540
[alert release];
15461541
}

0 commit comments

Comments
 (0)