diff options
author | Alyssa Ross <hi@alyssa.is> | 2018-11-18 10:42:29 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-11-18 19:16:06 +0100 |
commit | c06570c6e919ee090715049abfdfbd55d34aa467 (patch) | |
tree | 021986be6a80d62aeb2f07a7a4d404cfae652074 /vcl/osx | |
parent | 587ef41f75b8ea0bcd03366178d42a324dcf481c (diff) |
Fix build on macOS 10.11
Setting an undefined property is a hard error, even though we check for
the property first. Using message notation instead reduces this to a
warning, and allows the build to continue on systems without
allowsAutomaticWindowTabbing.
Change-Id: I572d8900fdeca16c733d541084d64385891733c1
Reviewed-on: https://gerrit.libreoffice.org/63526
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/vclnsapp.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/vclnsapp.mm b/vcl/osx/vclnsapp.mm index 321fa2d6a68c..223094e96c98 100644 --- a/vcl/osx/vclnsapp.mm +++ b/vcl/osx/vclnsapp.mm @@ -64,7 +64,7 @@ (void)pNotification; if( [NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)] ) { - NSWindow.allowsAutomaticWindowTabbing = NO; + [NSWindow setAllowsAutomaticWindowTabbing:NO]; } } |