forked from joejulian/gio
app: another macOS < 10.12 build fix
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ void gio_main(CFTypeRef viewRef, const char *title, CGFloat width, CGFloat heigh
|
|||||||
|
|
||||||
NSRect rect = NSMakeRect(0, 0, width, height);
|
NSRect rect = NSMakeRect(0, 0, width, height);
|
||||||
NSUInteger styleMask = NSTitledWindowMask |
|
NSUInteger styleMask = NSTitledWindowMask |
|
||||||
NSWindowStyleMaskResizable |
|
NSResizableWindowMask |
|
||||||
NSMiniaturizableWindowMask |
|
NSMiniaturizableWindowMask |
|
||||||
NSClosableWindowMask;
|
NSClosableWindowMask;
|
||||||
NSWindow* window = [[NSWindow alloc] initWithContentRect:rect
|
NSWindow* window = [[NSWindow alloc] initWithContentRect:rect
|
||||||
|
|||||||
Reference in New Issue
Block a user