[gimp] macos: version 10.7 long no longer supported



commit dd6c104d2e368405aa2eb9789a67c1e712f60862
Author: Lukas Oberhuber <lukaso gmail com>
Date:   Tue Jan 25 22:44:20 2022 +0000

    macos: version 10.7 long no longer supported

 app/display/gimpimagewindow.c          |  4 ----
 libgimpwidgets/gimppickbutton-quartz.c | 16 ----------------
 2 files changed, 20 deletions(-)
---
diff --git a/app/display/gimpimagewindow.c b/app/display/gimpimagewindow.c
index 030836938a..1499c27eed 100644
--- a/app/display/gimpimagewindow.c
+++ b/app/display/gimpimagewindow.c
@@ -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
 {
diff --git a/libgimpwidgets/gimppickbutton-quartz.c b/libgimpwidgets/gimppickbutton-quartz.c
index f6902fe3ac..1731bd828c 100644
--- a/libgimpwidgets/gimppickbutton-quartz.c
+++ b/libgimpwidgets/gimppickbutton-quartz.c
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]