summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-12-24 09:03:50 +0000
committertavmjong-free <tavmjong@free.fr>2014-12-24 09:03:50 +0000
commit497b9890e0cb85fced32d6958b465d40212db482 (patch)
treee88edd2db9933208e9d53ca981c940a83f4211fc /src/sp-object.cpp
parentUse gray for 'context-fill' and 'context-stroke' in marker selector. (diff)
downloadinkscape-497b9890e0cb85fced32d6958b465d40212db482.tar.gz
inkscape-497b9890e0cb85fced32d6958b465d40212db482.zip
Remove sp_style_new_from_object()
(bzr r13822.1.1)
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index 776b020d2..b0b482cf2 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -130,7 +130,7 @@ SPObject::SPObject()
// vg, g, defs, desc, title, symbol, use, image, switch, path, rect, circle, ellipse, line, polyline,
// polygon, text, tspan, tref, textPath, altGlyph, glyphRef, marker, linearGradient, radialGradient,
// stop, pattern, clipPath, mask, filter, feImage, a, font, glyph, missing-glyph, foreignObject
- this->style = sp_style_new_from_object(this);
+ this->style = new SPStyle( NULL, this ); // Is it necessary to call with "this"?
this->context_style = NULL;
}