app: use gimp_image_get_color_profile() instead of gimp_image_get_icc_parasite()

This commit is contained in:
Michael Natterer 2015-08-16 20:22:14 +02:00
parent 0b5c9c41fc
commit 701ba8656a
1 changed files with 1 additions and 1 deletions
app/file

View File

@ -824,7 +824,7 @@ file_open_handle_color_profile (GimpImage *image,
GimpProgress *progress,
GimpRunMode run_mode)
{
if (gimp_image_get_icc_parasite (image))
if (gimp_image_get_color_profile (image))
{
gimp_image_undo_disable (image);