mirror of https://github.com/GNOME/gimp.git
libgimpwidgets: Replace deprecated CGColorSpaceCopyICCProfile with CGColorSpaceCopyICCData
This commit is contained in:
parent
49c820e620
commit
9f86d6b8d0
|
@ -189,7 +189,7 @@
|
|||
{
|
||||
CFDataRef icc_data = NULL;
|
||||
|
||||
icc_data = CGColorSpaceCopyICCProfile (color_space);
|
||||
icc_data = CGColorSpaceCopyICCData (color_space);
|
||||
if (icc_data)
|
||||
{
|
||||
UInt8 *buffer = g_malloc (CFDataGetLength (icc_data));
|
||||
|
|
Loading…
Reference in New Issue