summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXNotify.c
diff options
context:
space:
mode:
authorculler <culler>2020-07-22 02:09:02 (GMT)
committerculler <culler>2020-07-22 02:09:02 (GMT)
commitf8b3a93842b3f805b1a470c0673fe2c1048a32b1 (patch)
tree4a060055fab784f8f11b91fd2bd0e9e5c91bf148 /macosx/tkMacOSXNotify.c
parent76864c8a9ccb1c3400b2482b6d3c8f9d0d1101f9 (diff)
downloadtk-f8b3a93842b3f805b1a470c0673fe2c1048a32b1.zip
tk-f8b3a93842b3f805b1a470c0673fe2c1048a32b1.tar.gz
tk-f8b3a93842b3f805b1a470c0673fe2c1048a32b1.tar.bz2
Fix some compiler warnings on Sierra.
Diffstat (limited to 'macosx/tkMacOSXNotify.c')
-rw-r--r--macosx/tkMacOSXNotify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXNotify.c b/macosx/tkMacOSXNotify.c
index 367f3b6..83b4695 100644
--- a/macosx/tkMacOSXNotify.c
+++ b/macosx/tkMacOSXNotify.c
@@ -156,6 +156,7 @@ void DebugPrintQueue(void)
* this block should be removed.
*/
+# if MAC_OSX_VERSION_MAX_ALLOWED >= 101500
if ([theEvent type] == NSAppKitDefined) {
static Bool aWindowIsMoving = NO;
switch([theEvent subtype]) {
@@ -174,6 +175,7 @@ void DebugPrintQueue(void)
break;
}
}
+#endif
[super sendEvent:theEvent];
[NSApp tkCheckPasteboard];