[gtk/gtk-3-24] [quartz] shouldInheritContentsScale from 10.7+ instead of 10.14+.



commit f48bed22dbd287e5f237f6fd3a74c447f9924c30
Author: John Ralls <jralls ceridwen us>
Date:   Thu Jun 30 15:25:50 2022 -0700

    [quartz] shouldInheritContentsScale from 10.7+ instead of 10.14+.

 gdk/quartz/GdkQuartzView.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/quartz/GdkQuartzView.c b/gdk/quartz/GdkQuartzView.c
index 01d482267e..d35a0c73f1 100644
--- a/gdk/quartz/GdkQuartzView.c
+++ b/gdk/quartz/GdkQuartzView.c
@@ -526,7 +526,7 @@ copy_rectangle_argb32 (cairo_surface_t *dest, cairo_surface_t *source,
 
 }
 
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 10700
 -(BOOL)layer:(CALayer*) layer shouldInheritContentsScale: (CGFloat)scale fromWindow: (NSWindow *) window
 {
   if (layer == self.layer && window == self.window)


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