summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0c6e5e)
raw | patch | inline | side by side (parent: b0c6e5e)
author | cilix42 <cilix42@users.sourceforge.net> | |
Thu, 27 Nov 2008 15:07:14 +0000 (15:07 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Thu, 27 Nov 2008 15:07:14 +0000 (15:07 +0000) |
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 2aec6c2f001c97c932072e01e6a6e4cf44573190..5a2a1efc9d57086a6e71161bb58fe3617784f6d3 100644 (file)
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
return result;
}
+#if ENABLE_LCMS
std::list<gchar *> ColorProfile::getProfileDirs() {
std::list<gchar *> sources;
return sources;
}
+#endif // ENABLE_LCMS
static void findThings() {
std::list<gchar *> sources = ColorProfile::getProfileDirs();
index a5fafd482831fbb134791cf897be51d9e2cc5ea7..84e41289dfb88782be18b9074e0b5e0394cd3516 100644 (file)
//------------------------------------------------Color Management page
+#if ENABLE_LCMS
populate_embedded_profiles_box();
populate_available_profiles();
+#endif // ENABLE_LCMS
_wr.setUpdating (false);
}
index 162618c05445f479fba04df3acde686e18eb11c7..5dd69385cae41c13d5141759250d229594824461 100644 (file)
#endif // ENABLE_LCMS
void init();
+ virtual void on_response (int);
+#if ENABLE_LCMS
void populate_available_profiles();
void populate_embedded_profiles_box();
- virtual void on_response (int);
void onEmbedProfile();
void remove_profile();
void embedded_profiles_list_button_release(GdkEventButton* event);
void create_popup_menu(Gtk::Widget& parent, sigc::slot<void> rem);
+#endif // ENABLE_LCMS
void _handleDocumentReplaced(SPDesktop* desktop, SPDocument *document);
void _handleActivateDesktop(Inkscape::Application *application, SPDesktop *desktop);
index cfca212472bd99437413d7bb7778c7b6d7c73d91..43d1ea88cd8f71d7bb714f087b8356ec15a436a5 100644 (file)
_page_cms.add_group_header( _("Display adjustment"));
+#if ENABLE_LCMS
Glib::ustring tmpStr;
std::list<gchar *> sources = ColorProfile::getProfileDirs();
while (!sources.empty()) {
profileTip, false);
g_free(profileTip);
profileTip = 0;
+#endif // ENABLE_LCMS
_cms_from_display.init( _("Retrieve profile from display"), "/options/displayprofile/from_display", false);
_page_cms.add_line( false, "", _cms_from_display, "",