summaryrefslogtreecommitdiffstats
path: root/src/sp-stop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-stop.cpp')
-rw-r--r--src/sp-stop.cpp2
1 files changed, 1 insertions, 1 deletions
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.) */