libgimpwidgets: Replace deprecated CGColorSpaceCopyICCProfile with CGColorSpaceCopyICCData

This commit is contained in:
lillolollo 2024-04-11 01:17:26 +00:00 committed by Alx Sa
parent 49c820e620
commit 9f86d6b8d0
1 changed files with 1 additions and 1 deletions

View File

@ -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));