Revert "Add forward declaration of NSWindow.allowsAutomaticWindowTabbing"

This reverts commit 770a3509cf.
This commit is contained in:
Tony Ganch 2017-03-21 10:18:57 +01:00
parent 208182d8cf
commit ed76e03730

View file

@ -10,10 +10,6 @@
#include "base/strings/sys_string_conversions.h"
#include "base/values.h"
@interface NSWindow (SierraSDK)
@property(class) BOOL allowsAutomaticWindowTabbing;
@end
@implementation AtomApplicationDelegate
- (void)setApplicationDockMenu:(atom::AtomMenuModel*)model {
@ -26,8 +22,9 @@
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"NSFullScreenMenuItemEverywhere"];
// Don't add the "Show Tab Bar" menu item.
if ([NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)])
if ([NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)]) {
NSWindow.allowsAutomaticWindowTabbing = NO;
}
atom::Browser::Get()->WillFinishLaunching();
}