diff options
author | dmaclach <dmaclach@gmail.com> | 2018-11-14 08:21:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-14 08:21:20 -0800 |
commit | 8d3e7a3f41c9d0b73d91ea98b2515f87cc36ced1 (patch) | |
tree | 30eb50ea945bb1bfbc870de445315bfa0330d03e | |
parent | 6a5a6d54cc4ffba4660dbd176c1074ed845134ae (diff) |
Set GTM deployment target to macOS 10.7. (#208)
Tests and code all build and run with no warnings.
-rw-r--r-- | AppKit/GTMWindowSheetController.m | 2 | ||||
-rw-r--r-- | 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; }; |