summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0f23378)
raw | patch | inline | side by side (parent: 0f23378)
author | JucaBlues <JucaBlues@users.sourceforge.net> | |
Fri, 14 Aug 2009 04:21:17 +0000 (04:21 +0000) | ||
committer | JucaBlues <JucaBlues@users.sourceforge.net> | |
Fri, 14 Aug 2009 04:21:17 +0000 (04:21 +0000) |
src/widgets/sp-color-scales.cpp | patch | blob | history |
index cf06247e7393906f9b90276bde679c8fdf907655..a09a3a2edc5a572b6448c5d3e0a597091c7dd6b9 100644 (file)
#include <glibmm/i18n.h>
#include "../dialogs/dialog-events.h"
#include "sp-color-scales.h"
+#include "svg/svg-icc-color.h"
#define CSC_CHANNEL_R (1 << 0)
#define CSC_CHANNEL_G (1 << 1)
g_warning ("file %s: line %d: Illegal color selector mode %d", __FILE__, __LINE__, _mode);
break;
}
+
+ /* Preserve ICC */
+ color.icc = _color.icc ? new SVGICCColor(*_color.icc) : 0;
+
_updateInternals( color, alpha, _dragging );
}
else