summaryrefslogtreecommitdiff
path: root/src/eom-image.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-09-26 10:24:01 +0200
committerStefano Karapetsas <[email protected]>2013-09-26 10:24:01 +0200
commit94214db85381f246290cfebb61de02aea2a441b3 (patch)
tree8f6871f7bfc8fcc2f5bf0334c37e6982ba24c3aa /src/eom-image.c
parent144066a7196fb19e1cb976d7ff7bdee353818fd5 (diff)
downloadeom-94214db85381f246290cfebb61de02aea2a441b3.tar.bz2
eom-94214db85381f246290cfebb61de02aea2a441b3.tar.xz
Migration to lcms2
Closes #25 https://github.com/mate-desktop/mate-image-viewer/issues/25 See https://git.gnome.org/browse/eog/commit/?id=3c3a835
Diffstat (limited to 'src/eom-image.c')
-rw-r--r--src/eom-image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eom-image.c b/src/eom-image.c
index e3f1c23..989f365 100644
--- a/src/eom-image.c
+++ b/src/eom-image.c
@@ -58,7 +58,7 @@
#endif
#ifdef HAVE_LCMS
-#include <lcms.h>
+#include <lcms2.h>
#ifndef EXIF_TAG_GAMMA
#define EXIF_TAG_GAMMA 0xa500
#endif
@@ -681,8 +681,8 @@ eom_image_apply_display_profile (EomImage *img, cmsHPROFILE screen)
if (screen == NULL || priv->profile == NULL) return;
/* TODO: support other colorspaces than RGB */
- if (cmsGetColorSpace (priv->profile) != icSigRgbData ||
- cmsGetColorSpace (screen) != icSigRgbData) {
+ if (cmsGetColorSpace (priv->profile) != cmsSigRgbData ||
+ cmsGetColorSpace (screen) != cmsSigRgbData) {
eom_debug_message (DEBUG_LCMS, "One or both ICC profiles not in RGB colorspace; not correcting");
return;
}