summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-11-08 08:15:45 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-11-08 08:15:45 +0000
commitc2f0d511571352125734545fbd7a256cfbc2b4aa (patch)
tree5f5a6f5c20826d09e75ab653d97efc790f843498 /src
parentSet "origin" (ua, user, author) for linked stylesheets. (diff)
downloadinkscape-c2f0d511571352125734545fbd7a256cfbc2b4aa.tar.gz
inkscape-c2f0d511571352125734545fbd7a256cfbc2b4aa.zip
Use correct function to add additional style sheets to style sheet list.
Diffstat (limited to 'src')
-rw-r--r--src/object/sp-style-elem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-style-elem.cpp b/src/object/sp-style-elem.cpp
index a8897fa44..f5432892c 100644
--- a/src/object/sp-style-elem.cpp
+++ b/src/object/sp-style-elem.cpp
@@ -482,7 +482,7 @@ void SPStyleElem::read_content() {
cr_cascade_set_sheet (document->getStyleCascade(), document->getStyleSheet(), ORIGIN_AUTHOR);
} else {
// If not the first, then chain up this style_sheet
- cr_stylesheet_append_import (document->getStyleSheet(), style_sheet);
+ cr_stylesheet_append_stylesheet (document->getStyleSheet(), style_sheet);
}
} else {
cr_stylesheet_destroy (style_sheet);