Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / sp-stop.cpp
index 15fc93e2f116b90684016d865f3f38fee0c8a0cb..0c0a3b03aa19f3c9fbf981227e634ef47ddca7a6 100644 (file)
@@ -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.) */