macos: version 10.7 long no longer supported
This commit is contained in:
parent
82899764a3
commit
dd6c104d2e
2 changed files with 0 additions and 20 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue