summaryrefslogtreecommitdiffstats
path: root/src/sp-image.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/sp-image.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/sp-image.cpp')
-rw-r--r--src/sp-image.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/sp-image.cpp b/src/sp-image.cpp
index 65aad1e2d..f4ab3d9ef 100644
--- a/src/sp-image.cpp
+++ b/src/sp-image.cpp
@@ -51,8 +51,15 @@
#if ENABLE_LCMS
#include "color-profile-fns.h"
#include "color-profile.h"
-//#define DEBUG_LCMS
+#define DEBUG_LCMS
#ifdef DEBUG_LCMS
+
+
+#define DEBUG_MESSAGE(key, ...)\
+{\
+ g_message( __VA_ARGS__ );\
+}
+
#include "preferences.h"
#include <gtk/gtkmessagedialog.h>
#endif // DEBUG_LCMS
@@ -105,7 +112,7 @@ extern "C"
#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("/options/scislac/" #key);\