From 450843baa746e1490c1f6de59172312be5f321a3 Mon Sep 17 00:00:00 2001 From: Alex Samorukov Date: Tue, 26 Jun 2018 14:49:11 +0000 Subject: [PATCH] Replace deprecated CGColorSpaceCopyICCProfile with CGColorSpaceCopyICCData WARNING: this commit should not be backported to the gimp-2-10 branch because of macOS minimum supported version. --- libgimpwidgets/gimpwidgetsutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgimpwidgets/gimpwidgetsutils.c b/libgimpwidgets/gimpwidgetsutils.c index e54f9a63ad..fb79218362 100644 --- a/libgimpwidgets/gimpwidgetsutils.c +++ b/libgimpwidgets/gimpwidgetsutils.c @@ -528,7 +528,7 @@ gimp_monitor_get_color_profile (GdkMonitor *monitor) { CFDataRef data; - data = CGColorSpaceCopyICCProfile (space); + data = CGColorSpaceCopyICCData (space); if (data) {