summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f4f363e)
raw | patch | inline | side by side (parent: f4f363e)
author | joncruz <joncruz@users.sourceforge.net> | |
Mon, 1 Oct 2007 16:14:50 +0000 (16:14 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Mon, 1 Oct 2007 16:14:50 +0000 (16:14 +0000) |
src/color-profile.cpp | patch | blob | history |
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 03a975a0cac248d922a1acf4a3b683dd35cd5881..39cebcb0cbe69cf2341d606579bb7cd1291ca9b4 100644 (file)
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
}
}
+int errorHandlerCB(int ErrorCode, const char *ErrorText)
+{
+ g_message("lcms: Error %d; %s", ErrorCode, ErrorText);
+}
+
cmsHPROFILE Inkscape::colorprofile_get_system_profile_handle()
{
static bool init = false;
if ( !init ) {
+ cmsSetErrorHandler(errorHandlerCB);
+
findThings();
init = true;
}