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 /AppKit | |
parent | 6a5a6d54cc4ffba4660dbd176c1074ed845134ae (diff) |
Set GTM deployment target to macOS 10.7. (#208)
Tests and code all build and run with no warnings.
Diffstat (limited to 'AppKit')
-rw-r--r-- | AppKit/GTMWindowSheetController.m | 2 |
1 files changed, 1 insertions, 1 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; } |