From 8d3e7a3f41c9d0b73d91ea98b2515f87cc36ced1 Mon Sep 17 00:00:00 2001 From: dmaclach Date: Wed, 14 Nov 2018 08:21:20 -0800 Subject: Set GTM deployment target to macOS 10.7. (#208) Tests and code all build and run with no warnings. --- AppKit/GTMWindowSheetController.m | 2 +- GTM.xcodeproj/project.pbxproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AppKit/GTMWindowSheetController.m b/AppKit/GTMWindowSheetController.m index 37077a1..b8bacff 100644 --- a/AppKit/GTMWindowSheetController.m +++ b/AppKit/GTMWindowSheetController.m @@ -489,7 +489,7 @@ willPositionSheet:(NSWindow*)sheet - (NSRect)screenFrameOfView:(NSView*)view { NSRect viewFrame = [view convertRect:[view bounds] toView:nil]; - viewFrame.origin = [[view window] convertBaseToScreen:viewFrame.origin]; + viewFrame = [[view window] convertRectToScreen:viewFrame]; return viewFrame; } diff --git a/GTM.xcodeproj/project.pbxproj b/GTM.xcodeproj/project.pbxproj index 99cff58..6f56b9d 100644 --- a/GTM.xcodeproj/project.pbxproj +++ b/GTM.xcodeproj/project.pbxproj @@ -1278,7 +1278,7 @@ GCC_WARN_SHADOW = YES; GTM_EXTRA_WARNING_OVERRIDE_CFLAGS = "-Wno-unused-parameter"; GTM_HOST_GCC_PREPROCESSOR_DEFINITIONS = "GTM_USING_XCTEST=1"; - MACOSX_DEPLOYMENT_TARGET = 10.6; + MACOSX_DEPLOYMENT_TARGET = 10.7; ONLY_ACTIVE_ARCH = YES; }; name = Debug; @@ -1383,7 +1383,7 @@ GCC_WARN_SHADOW = YES; GTM_EXTRA_WARNING_OVERRIDE_CFLAGS = "-Wno-unused-parameter"; GTM_HOST_GCC_PREPROCESSOR_DEFINITIONS = "GTM_USING_XCTEST=1"; - MACOSX_DEPLOYMENT_TARGET = 10.6; + MACOSX_DEPLOYMENT_TARGET = 10.7; }; name = Release; }; -- cgit v1.2.3