summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/object-composite-settings.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-10-28 11:30:14 +0000
committerThomas Holder <thomas@thomas-holder.de>2019-10-28 11:30:14 +0000
commit1a12c0f5f163794584dfe7b25d4f1feb3156cb6d (patch)
treed6c79997499865b493f1986042a4b3f23f945f1e /src/ui/widget/object-composite-settings.cpp
parentUpdate cs.po (diff)
downloadinkscape-1a12c0f5f163794584dfe7b25d4f1feb3156cb6d.tar.gz
inkscape-1a12c0f5f163794584dfe7b25d4f1feb3156cb6d.zip
refactor SPIEnum: more type safety
fixes ungrouping of "font-weight:bolder" fixes "titling-caps" parsing fixes a casting error in CairoRenderContext::renderGlyphtext
Diffstat (limited to 'src/ui/widget/object-composite-settings.cpp')
-rw-r--r--src/ui/widget/object-composite-settings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/object-composite-settings.cpp b/src/ui/widget/object-composite-settings.cpp
index 974c46b18..d628870e2 100644
--- a/src/ui/widget/object-composite-settings.cpp
+++ b/src/ui/widget/object-composite-settings.cpp
@@ -259,14 +259,14 @@ ObjectCompositeSettings::_subjectChanged() {
const int blend_result = _subject->queryStyle(&query, QUERY_STYLE_PROPERTY_BLEND);
switch(blend_result) {
case QUERY_STYLE_NOTHING:
- _filter_modifier.set_blend_mode(0, false);
+ _filter_modifier.set_blend_mode(SP_CSS_BLEND_NORMAL, false);
break;
case QUERY_STYLE_SINGLE:
case QUERY_STYLE_MULTIPLE_SAME:
_filter_modifier.set_blend_mode(query.mix_blend_mode.value, true); // here dont work mix_blend_mode.set
break;
case QUERY_STYLE_MULTIPLE_DIFFERENT:
- _filter_modifier.set_blend_mode(0, false);
+ _filter_modifier.set_blend_mode(SP_CSS_BLEND_NORMAL, false);
break;
}