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

@ -25,6 +25,8 @@ const NSAutoresizingMaskOptions kDefaultAutoResizingMask =
@implementation DragRegionView
@synthesize initialLocation;
- (BOOL)mouseDownCanMoveWindow
{
return NO;

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;
}

View file

@ -27,6 +27,9 @@
@implementation PopUpButtonHandler
@synthesize savePanel;
@synthesize fileTypesList;
- (instancetype)initWithPanel:(NSSavePanel*)panel
andTypesList:(NSArray*)typesList {
self = [super init];