summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2012-12-24 07:07:34 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx.marker.es>2012-12-24 07:07:34 +0000
commit151539ee2fdfdc417a691ba1d51e129036687cff (patch)
tree6be4d0f9f0516f99083506feede6a0806c2b8537 /src/style.cpp
parentGoing to merge (diff)
parentextensions. function plotter. patch by ~suv for clip rectangle (Bug 492103) (diff)
downloadinkscape-151539ee2fdfdc417a691ba1d51e129036687cff.tar.gz
inkscape-151539ee2fdfdc417a691ba1d51e129036687cff.zip
Merge from branch
(bzr r11950.1.6)
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 3e58a0404..650b08aea 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -677,9 +677,9 @@ sp_style_read(SPStyle *style, SPObject *object, Inkscape::XML::Node *repr)
}
}
/* color interpolation */
- SPS_READ_PENUM_IF_UNSET(&style->color_interpolation, repr, "color_interpolation", enum_color_interpolation, true);
+ SPS_READ_PENUM_IF_UNSET(&style->color_interpolation, repr, "color-interpolation", enum_color_interpolation, true);
/* color interpolation filters*/
- SPS_READ_PENUM_IF_UNSET(&style->color_interpolation_filters, repr, "color_interpolation_filters", enum_color_interpolation, true);
+ SPS_READ_PENUM_IF_UNSET(&style->color_interpolation_filters, repr, "color-interpolation-filters", enum_color_interpolation, true);
/* fill */
if (!style->fill.set) {
val = repr->attribute("fill");
@@ -1234,11 +1234,7 @@ sp_style_merge_property(SPStyle *style, gint id, gchar const *val)
}
break;
case SP_PROP_COLOR_INTERPOLATION_FILTERS:
- // We read it but issue warning
SPS_READ_IENUM_IF_UNSET(&style->color_interpolation_filters, val, enum_color_interpolation, true);
- if( style->color_interpolation_filters.value != SP_CSS_COLOR_INTERPOLATION_SRGB ) {
- g_warning("Inkscape currently only supports color-interpolation-filters = sRGB");
- }
break;
case SP_PROP_COLOR_PROFILE:
g_warning("Unimplemented style property SP_PROP_COLOR_PROFILE: value: %s", val);