summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-12-03 21:03:21 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-12-03 21:03:21 +0000
commit5f59d8b3f737d4c56849c9b204ab0d43d94ba24e (patch)
tree5bded330235dee7efd85af2912d78ee34674d348 /src/color-profile.cpp
parentwiki link added (diff)
downloadinkscape-5f59d8b3f737d4c56849c9b204ab0d43d94ba24e.tar.gz
inkscape-5f59d8b3f737d4c56849c9b204ab0d43d94ba24e.zip
Fix compile when lcms is disabled
(bzr r6934)
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 9ac1f6414..52a432192 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -561,6 +561,7 @@ Glib::ustring Inkscape::get_path_for_profile(Glib::ustring const& name)
return result;
}
+#endif // ENABLE_LCMS
std::list<Glib::ustring> ColorProfile::getProfileDirs() {
std::list<Glib::ustring> sources;
@@ -587,6 +588,7 @@ std::list<Glib::ustring> ColorProfile::getProfileDirs() {
return sources;
}
+#if ENABLE_LCMS
static void findThings() {
std::list<Glib::ustring> sources = ColorProfile::getProfileDirs();