Bring mac code into conformance with -Wobjc-missing-property-synthesis

This commit is contained in:
Jeremy Apthorp 2018-04-17 16:46:33 -07:00
parent f3c00e96aa
commit eb7ccf8afa
3 changed files with 15 additions and 0 deletions

View file

@ -425,6 +425,9 @@ bool ScopedDisableResize::disable_resize_ = false;
@implementation AtomPreviewItem
@synthesize previewItemURL;
@synthesize previewItemTitle;
- (id)initWithURL:(NSURL*)url title:(NSString*)title {
self = [super init];
if (self) {
@ -480,6 +483,13 @@ enum {
@implementation AtomNSWindow
@synthesize acceptsFirstMouse;
@synthesize disableAutoHideCursor;
@synthesize disableKeyOrMainWindow;
@synthesize windowButtonsOffset;
@synthesize quickLookItem;
@synthesize vibrantView;
- (void)setShell:(atom::NativeWindowMac*)shell {
shell_ = shell;
}