X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsp-stop.cpp;fp=src%2Fsp-stop.cpp;h=0c0a3b03aa19f3c9fbf981227e634ef47ddca7a6;hb=9dc68827cbd515262ecb8d5ae8547d9e82c72e00;hp=15fc93e2f116b90684016d865f3f38fee0c8a0cb;hpb=8c6aa1264d2d7b0f1d6e31a97937572068aeaaae;p=inkscape.git diff --git a/src/sp-stop.cpp b/src/sp-stop.cpp index 15fc93e2f..0c0a3b03a 100644 --- a/src/sp-stop.cpp +++ b/src/sp-stop.cpp @@ -69,7 +69,7 @@ SPColor SPStop::getEffectiveColor() const { SPColor ret; if (currentColor) { - char const *str = sp_object_get_style_property(this, "color", NULL); + char const *str = getStyleProperty("color", NULL); /* Default value: arbitrarily black. (SVG1.1 and CSS2 both say that the initial * value depends on user agent, and don't give any further restrictions that I can * see.) */