mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Rename a bunch of constants to fix deprecation warnings (10.12)
This commit is contained in:
@@ -22,7 +22,7 @@ OAK_DEBUG_VAR(HTMLOutputWindow);
|
||||
NSRect rect = [[NSScreen mainScreen] visibleFrame];
|
||||
rect = NSIntegralRect(NSInsetRect(rect, NSWidth(rect) / 3, NSHeight(rect) / 5));
|
||||
|
||||
self.window = [[NSWindow alloc] initWithContentRect:rect styleMask:(NSTitledWindowMask|NSClosableWindowMask|NSResizableWindowMask|NSMiniaturizableWindowMask) backing:NSBackingStoreBuffered defer:NO];
|
||||
self.window = [[NSWindow alloc] initWithContentRect:rect styleMask:(NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskResizable|NSWindowStyleMaskMiniaturizable) backing:NSBackingStoreBuffered defer:NO];
|
||||
self.htmlOutputView = [[OakHTMLOutputView alloc] init];
|
||||
|
||||
[self.window bind:NSTitleBinding toObject:self.htmlOutputView withKeyPath:@"mainFrameTitle" options:nil];
|
||||
|
||||
Reference in New Issue
Block a user