Re: [Qemu-devel] [PATCH] ui/cocoa.m: Fix macOS 10.12 deprecation warnings

2017-04-25 Thread Peter Maydell
On 25 April 2017 at 07:29, Brendan Shanks wrote: > macOS 10.12 deprecated/replaced many AppKit constants to make naming > more consistent. Use the new constants, and #define them to the > old constants when compiling against a pre-10.12 SDK. > > Signed-off-by: Brendan Shanks > --- > ui/cocoa.m |

[Qemu-devel] [PATCH] ui/cocoa.m: Fix macOS 10.12 deprecation warnings

2017-04-24 Thread Brendan Shanks
macOS 10.12 deprecated/replaced many AppKit constants to make naming more consistent. Use the new constants, and #define them to the old constants when compiling against a pre-10.12 SDK. Signed-off-by: Brendan Shanks --- ui/cocoa.m | 87 +--