mirror of
https://github.com/textmate/textmate.git
synced 2026-01-21 04:38:13 -05:00
Don’t call setBottomCornerRounded:NO
This is private API and no longer seems necessary.
This commit is contained in:
@@ -492,8 +492,6 @@ OAK_DEBUG_VAR(DocumentController);
|
||||
tabBarView.dataSource = self;
|
||||
[tabBarView reloadData]; // FIXME this should be implicit
|
||||
|
||||
[self.window setPrivateBottomCornerRounded:NO];
|
||||
|
||||
// Move up the tab bar view in the responder chain so that it is next responder for its siblings. This is so that performClose: goes through the tab bar view, at least when one of the view’s siblings is first responder
|
||||
NSResponder* contentView = [tabBarView nextResponder];
|
||||
[tabBarView setNextResponder:[contentView nextResponder]];
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
@interface NSWindow (Other)
|
||||
- (void)toggleVisibility;
|
||||
- (void)setPrivateBottomCornerRounded:(BOOL)flag;
|
||||
@end
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
#import "NSWindow Additions.h"
|
||||
|
||||
@interface NSWindow (Private)
|
||||
- (void)setBottomCornerRounded:(BOOL)flag;
|
||||
@end
|
||||
|
||||
@implementation NSWindow (Other)
|
||||
- (void)toggleVisibility
|
||||
{
|
||||
@@ -19,10 +15,4 @@
|
||||
[self makeKeyAndOrderFront:self];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)setPrivateBottomCornerRounded:(BOOL)flag
|
||||
{
|
||||
if([self respondsToSelector:@selector(setBottomCornerRounded:)])
|
||||
[self setBottomCornerRounded:flag];
|
||||
}
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user