summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a6235dd)
raw | patch | inline | side by side (parent: a6235dd)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 21 May 2006 19:58:54 +0000 (19:58 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 21 May 2006 19:58:54 +0000 (19:58 +0000) |
src/splivarot.cpp | patch | blob | history |
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index eeb82970b6bc8a7cae962a584fd896e97e631e56..828c6104801212de586884a16ab2855207d24258 100644 (file)
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
}
{ // pas de stroke pas de chocolat
- SPCSSAttr *css = sp_repr_css_attr(SP_OBJECT_REPR(item), "style");
+ SPCSSAttr *css = sp_repr_css_attr_inherited(SP_OBJECT_REPR(item), "style");
gchar const *val = sp_repr_css_property(css, "stroke", NULL);
if (val == NULL || strcmp(val, "none") == 0) {
// remember old stroke style, to be set on fill
SPCSSAttr *ncss;
{
- SPCSSAttr *ocss = sp_repr_css_attr(SP_OBJECT_REPR(item), "style");
+ SPCSSAttr *ocss = sp_repr_css_attr_inherited(SP_OBJECT_REPR(item), "style");
gchar const *val = sp_repr_css_property(ocss, "stroke", NULL);
gchar const *opac = sp_repr_css_property(ocss, "stroke-opacity", NULL);