mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
libgimpwidgets: Replace deprecated CGColorSpaceCopyICCProfile with CGColorSpaceCopyICCData
This commit is contained in:
parent
49c820e620
commit
9f86d6b8d0
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@
|
||||||
{
|
{
|
||||||
CFDataRef icc_data = NULL;
|
CFDataRef icc_data = NULL;
|
||||||
|
|
||||||
icc_data = CGColorSpaceCopyICCProfile (color_space);
|
icc_data = CGColorSpaceCopyICCData (color_space);
|
||||||
if (icc_data)
|
if (icc_data)
|
||||||
{
|
{
|
||||||
UInt8 *buffer = g_malloc (CFDataGetLength (icc_data));
|
UInt8 *buffer = g_malloc (CFDataGetLength (icc_data));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue