macos: version 10.7 long no longer supported

This commit is contained in:
Lukas Oberhuber 2022-01-25 22:44:20 +00:00 committed by Jehan
parent 82899764a3
commit dd6c104d2e
2 changed files with 0 additions and 20 deletions

View file

@ -94,10 +94,6 @@
/* Whether the window's maximized or not */
#define GIMP_IMAGE_WINDOW_MAXIMIZED "maximized"
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
#define NSWindowCollectionBehaviorFullScreenAuxiliary (1 << 8)
#endif
enum
{

View file

@ -33,22 +33,6 @@
#include <ApplicationServices/ApplicationServices.h>
#endif
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
@interface NSWindow (GIMPExt)
- (NSRect) convertRectToScreen: (NSRect)aRect;
@end
@implementation NSWindow (GIMPExt)
- (NSRect) convertRectToScreen: (NSRect)aRect
{
NSRect result = aRect;
NSPoint origin = result.origin;
result.origin = [self convertBaseToScreen:origin];
return result;
}
@end
#endif
@interface GimpPickWindowController : NSObject
{
GimpPickButton *button;