summaryrefslogtreecommitdiffstats
path: root/src/dialogs/swatches.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2006-05-23 16:39:31 +0000
committerjoncruz <joncruz@users.sourceforge.net>2006-05-23 16:39:31 +0000
commit9b2ac3c3db9d7ee775049bc5739d3355b49b9bfd (patch)
treec7705bd2e3ceffef95a7c6842912d4daa2b9979a /src/dialogs/swatches.cpp
parentenable palette (diff)
downloadinkscape-9b2ac3c3db9d7ee775049bc5739d3355b49b9bfd.tar.gz
inkscape-9b2ac3c3db9d7ee775049bc5739d3355b49b9bfd.zip
Flipped LCMS on
(bzr r981)
Diffstat (limited to 'src/dialogs/swatches.cpp')
-rw-r--r--src/dialogs/swatches.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/dialogs/swatches.cpp b/src/dialogs/swatches.cpp
index dc9b6fdd6..dc9de8d2b 100644
--- a/src/dialogs/swatches.cpp
+++ b/src/dialogs/swatches.cpp
@@ -98,10 +98,10 @@ typedef enum {
} colorFlavorType;
static const GtkTargetEntry sourceColorEntries[] = {
-#if ENABLE_LCMS
+#if ENABLE_MAGIC_COLORS
// {"application/x-inkscape-color-id", GTK_TARGET_SAME_APP, APP_X_INKY_COLOR_ID},
{"application/x-inkscape-color", 0, APP_X_INKY_COLOR},
-#endif // ENABLE_LCMS
+#endif // ENABLE_MAGIC_COLORS
{"application/x-color", 0, APP_X_COLOR},
{"text/plain", 0, TEXT_DATA},
};
@@ -234,10 +234,10 @@ static void dieDieDie( GtkObject *obj, gpointer user_data )
}
static const GtkTargetEntry destColorTargets[] = {
-#if ENABLE_LCMS
+#if ENABLE_MAGIC_COLORS
// {"application/x-inkscape-color-id", GTK_TARGET_SAME_APP, APP_X_INKY_COLOR_ID},
{"application/x-inkscape-color", 0, APP_X_INKY_COLOR},
-#endif // ENABLE_LCMS
+#endif // ENABLE_MAGIC_COLORS
{"application/x-color", 0, APP_X_COLOR},
};
@@ -837,7 +837,9 @@ void _loadPaletteFile( gchar const *filename )
} while ( result && !hasErr );
if ( !hasErr ) {
possible.push_back(onceMore);
+#if ENABLE_MAGIC_COLORS
ColorItem::_wireMagicColors( onceMore );
+#endif ENABLE_MAGIC_COLORS
} else {
delete onceMore;
}