Don’t call setBottomCornerRounded:NO

This is private API and no longer seems necessary.
This commit is contained in:
Allan Odgaard
2012-09-16 20:10:33 +02:00
parent 65c9594ff6
commit effa1577ac
3 changed files with 0 additions and 13 deletions

View File

@@ -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 views siblings is first responder
NSResponder* contentView = [tabBarView nextResponder];
[tabBarView setNextResponder:[contentView nextResponder]];

View File

@@ -1,4 +1,3 @@
@interface NSWindow (Other)
- (void)toggleVisibility;
- (void)setPrivateBottomCornerRounded:(BOOL)flag;
@end

View File

@@ -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