summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-07-08 04:15:46 +0000
committerCampbell Barton <ideasman42@gmail.com>2011-07-08 04:15:46 +0000
commit262ed2816e1faa073e8ca16b7d474100c8a9cf4f (patch)
tree5fa34c67e2acb023431f5fd8ad5afd458fcb9f23 /src/color-profile.cpp
parentfix for building with cmake, renaming the GTK2 package didnt work right, very... (diff)
downloadinkscape-262ed2816e1faa073e8ca16b7d474100c8a9cf4f.tar.gz
inkscape-262ed2816e1faa073e8ca16b7d474100c8a9cf4f.zip
fix for building without LCMS
(bzr r10425)
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 7c9e83e3c..c2267d827 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -103,8 +103,10 @@ static SPObjectClass *cprof_parent_class;
class ColorProfileImpl {
public:
+#if ENABLE_LCMS
static cmsHPROFILE _sRGBProf;
static cmsHPROFILE _NullProf;
+#endif // ENABLE_LCMS
ColorProfileImpl();
@@ -125,8 +127,9 @@ public:
#endif // ENABLE_LCMS
};
-ColorProfileImpl::ColorProfileImpl() :
+ColorProfileImpl::ColorProfileImpl()
#if ENABLE_LCMS
+ :
_profHandle(0),
_profileClass(icSigInputClass),
_profileSpace(icSigRgbData),