summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2009-08-01 04:01:00 +0000
committerJucaBlues <JucaBlues@users.sourceforge.net>2009-08-01 04:01:00 +0000
commit8ef2626fa8bbdf13da2c9fccd9d7b45e4bb0247a (patch)
tree7d1fefaa0a4daeec5aba972052b290014c9e12be /src/color-profile.cpp
parentparsing and handling of icc-color in feFlood SVG Filters (diff)
downloadinkscape-8ef2626fa8bbdf13da2c9fccd9d7b45e4bb0247a.tar.gz
inkscape-8ef2626fa8bbdf13da2c9fccd9d7b45e4bb0247a.zip
enabling all icc-color related debug messages
(bzr r8050.1.5)
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 20e870242..de9dc6959 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -1,6 +1,6 @@
-//#define DEBUG_LCMS
+#define DEBUG_LCMS
#include <glib/gstdio.h>
#include <sys/fcntl.h>
@@ -36,7 +36,7 @@ static cmsHPROFILE colorprofile_get_proof_profile_handle();
#ifdef DEBUG_LCMS
extern guint update_in_progress;
-#define DEBUG_MESSAGE(key, ...) \
+#define DEBUG_MESSAGE_SCISLAC(key, ...) \
{\
Inkscape::Preferences *prefs = Inkscape::Preferences::get();\
bool dump = prefs->getBool(Glib::ustring("/options/scislac/") + #key);\
@@ -62,6 +62,13 @@ extern guint update_in_progress;
gtk_widget_show_all( dialog );\
}\
}
+
+
+#define DEBUG_MESSAGE(key, ...)\
+{\
+ g_message( __VA_ARGS__ );\
+}
+
#endif // DEBUG_LCMS
static SPObjectClass *cprof_parent_class;