summaryrefslogtreecommitdiffstats
path: root/src/sp-image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-image.cpp')
-rw-r--r--src/sp-image.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sp-image.cpp b/src/sp-image.cpp
index e9fd7ccde..ee70d2ca7 100644
--- a/src/sp-image.cpp
+++ b/src/sp-image.cpp
@@ -44,9 +44,9 @@
#include "io/sys.h"
#if ENABLE_LCMS
-#include "color-profile-fns.h"
-#include "color-profile-cms-fns.h"
+#include "cms-system.h"
#include "color-profile.h"
+#include <lcms.h>
//#define DEBUG_LCMS
#ifdef DEBUG_LCMS
@@ -849,9 +849,9 @@ static void sp_image_update( SPObject *object, SPCtx *ctx, unsigned int flags )
DEBUG_MESSAGE( lcmsFive, "in <image>'s sp_image_update. About to call colorprofile_get_handle()" );
#endif // DEBUG_LCMS
guint profIntent = Inkscape::RENDERING_INTENT_UNKNOWN;
- cmsHPROFILE prof = Inkscape::colorprofile_get_handle( object->document,
- &profIntent,
- image->color_profile );
+ cmsHPROFILE prof = Inkscape::CMSSystem::getHandle( object->document,
+ &profIntent,
+ image->color_profile );
if ( prof ) {
icProfileClassSignature profileClass = cmsGetDeviceClass( prof );
if ( profileClass != icSigNamedColorClass ) {