From 1916e719dacb5be20e165d7d6b3be5507e4b5a9d Mon Sep 17 00:00:00 2001 From: cilix42 Date: Wed, 3 Dec 2008 21:03:21 +0000 Subject: [PATCH] Fix compile when lcms is disabled --- src/color-profile.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.30.2