summaryrefslogtreecommitdiffstats
path: root/src/sp-line.cpp
diff options
context:
space:
mode:
authorAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-14 18:10:35 +0000
committerAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-14 18:10:35 +0000
commitcde0571b44ec5b108907bda85971c49f3ceb1de8 (patch)
tree88f75682989d77787d297498b9bda9568a5e53f5 /src/sp-line.cpp
parentSPObject c++ification finalized along with the beginning of XML Privatisation... (diff)
downloadinkscape-cde0571b44ec5b108907bda85971c49f3ceb1de8.tar.gz
inkscape-cde0571b44ec5b108907bda85971c49f3ceb1de8.zip
SPShape c++ified to the extent it was possible and more changes done for XML privatisation. Major changes yet to come.
(bzr r9546.1.7)
Diffstat (limited to 'src/sp-line.cpp')
-rw-r--r--src/sp-line.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-line.cpp b/src/sp-line.cpp
index 6d3d2aea7..b29e51b5a 100644
--- a/src/sp-line.cpp
+++ b/src/sp-line.cpp
@@ -158,7 +158,7 @@ SPLine::sp_line_update (SPObject *object, SPCtx *ctx, guint flags)
line->y1.update(em, ex, h);
line->y2.update(em, ex, h);
- sp_shape_set_shape ((SPShape *) object);
+ ((SPShape *) object)->setShape ();
}
if (((SPObjectClass *) SPLineClass::static_parent_class)->update)
@@ -244,7 +244,7 @@ SPLine::sp_line_set_shape (SPShape *shape)
c->moveto(line->x1.computed, line->y1.computed);
c->lineto(line->x2.computed, line->y2.computed);
- sp_shape_set_curve_insync (shape, c, TRUE); // *_insync does not call update, avoiding infinite recursion when set_shape is called by update
+ shape->setCurveInsync (c, TRUE); // *_insync does not call update, avoiding infinite recursion when set_shape is called by update
c->unref();
}