Code

Fix compile when lcms is disabled
authorcilix42 <cilix42@users.sourceforge.net>
Wed, 3 Dec 2008 21:03:21 +0000 (21:03 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Wed, 3 Dec 2008 21:03:21 +0000 (21:03 +0000)
src/color-profile.cpp

index 9ac1f6414d25ad92483c00030a9e9ea8bab18dcf..52a4321927d97be852e89320be3951f049a30efc 100644 (file)
@@ -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();