diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-10-05 20:29:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-10-05 20:29:04 +0200 |
commit | a6c88e4bf1d148ac462c2bcd7061eff602b627d6 (patch) | |
tree | f26e7b89f8de36e042041934a50869d9d7ddf97c /apple_remote/source | |
parent | af239f5affe82d0c6449e0e8f9828fe587033f02 (diff) |
SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around new macOS 10.12 deprecations
...for now
Change-Id: I64a0a8f6a006d75b6f82d7aae570aef414984a78
Diffstat (limited to 'apple_remote/source')
-rw-r--r-- | apple_remote/source/RemoteMainController.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apple_remote/source/RemoteMainController.m b/apple_remote/source/RemoteMainController.m index 79af22fd9f3e..9e933a302880 100644 --- a/apple_remote/source/RemoteMainController.m +++ b/apple_remote/source/RemoteMainController.m @@ -85,6 +85,8 @@ - (void) postTheEvent: (short int)buttonIdentifier modifierFlags:(int)modifierFlags { +SAL_WNODEPRECATED_DECLARATIONS_PUSH + // 'NSApplicationDefined' is deprecated: first deprecated in macOS 10.12 [NSApp postEvent: [NSEvent otherEventWithType:NSApplicationDefined location:NSZeroPoint @@ -96,6 +98,7 @@ data1: buttonIdentifier data2: 0] atStart: NO]; +SAL_WNODEPRECATED_DECLARATIONS_POP } |