summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-11-27 15:07:14 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-11-27 15:07:14 +0000
commit85b8111665b6e73bd310352a1430f2307f372ed9 (patch)
tree8049a22b6f9432d86ed80c70adbae5d582904f2a /src/color-profile.cpp
parentList color profile search locations in preference tooltip (diff)
downloadinkscape-85b8111665b6e73bd310352a1430f2307f372ed9.tar.gz
inkscape-85b8111665b6e73bd310352a1430f2307f372ed9.zip
Fix compile with lcms disabled.
(bzr r6909)
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 2aec6c2f0..5a2a1efc9 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -562,6 +562,7 @@ Glib::ustring Inkscape::get_path_for_profile(Glib::ustring const& name)
return result;
}
+#if ENABLE_LCMS
std::list<gchar *> ColorProfile::getProfileDirs() {
std::list<gchar *> sources;
@@ -586,6 +587,7 @@ std::list<gchar *> ColorProfile::getProfileDirs() {
return sources;
}
+#endif // ENABLE_LCMS
static void findThings() {
std::list<gchar *> sources = ColorProfile::getProfileDirs();