From: cilix42 Date: Wed, 3 Dec 2008 21:03:21 +0000 (+0000) Subject: Fix compile when lcms is disabled X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1916e719dacb5be20e165d7d6b3be5507e4b5a9d;p=inkscape.git Fix compile when lcms is disabled --- 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 ColorProfile::getProfileDirs() { std::list sources; @@ -587,6 +588,7 @@ std::list ColorProfile::getProfileDirs() { return sources; } +#if ENABLE_LCMS static void findThings() { std::list sources = ColorProfile::getProfileDirs();