[gimp] Replace deprecated CGColorSpaceCopyICCProfile with CGColorSpaceCopyICCData



commit 450843baa746e1490c1f6de59172312be5f321a3
Author: Alex Samorukov <samm os2 kiev ua>
Date:   Tue Jun 26 14:49:11 2018 +0000

    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)
           {


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