summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2018-11-18 10:42:29 +0000
committerTor Lillqvist <tml@collabora.com>2018-11-18 19:16:06 +0100
commitc06570c6e919ee090715049abfdfbd55d34aa467 (patch)
tree021986be6a80d62aeb2f07a7a4d404cfae652074
parent587ef41f75b8ea0bcd03366178d42a324dcf481c (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>
-rw-r--r--vcl/osx/vclnsapp.mm2
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];
}
}