summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-01-17 20:25:50 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2012-01-17 20:25:50 +0000
commitcf7bcd2af286d205a70eb9d1ec5e4b77fb6d2f19 (patch)
treefb8985008fda43525f296bc50584d8d4abc3d5dc /src/ui
parentchange pencil tool dropdown shapes to use powerstroke, instead of pattern alo... (diff)
downloadinkscape-cf7bcd2af286d205a70eb9d1ec5e4b77fb6d2f19.tar.gz
inkscape-cf7bcd2af286d205a70eb9d1ec5e4b77fb6d2f19.zip
turn SPPath into a class, and add some methods...
(bzr r10897)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/tool/path-manipulator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index 826c3d818..c2eca5f75 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -1295,7 +1295,7 @@ void PathManipulator::_getGeometry()
}
} else {
_spcurve->unref();
- _spcurve = sp_path_get_curve_for_edit(_path);
+ _spcurve = _path->get_curve_for_edit();
}
}
@@ -1318,7 +1318,7 @@ void PathManipulator::_setGeometry()
} else {
//XML Tree being used here directly while it shouldn't be.
if (_path->getRepr()->attribute("inkscape:original-d"))
- sp_path_set_original_curve(_path, _spcurve, false, false);
+ _path->set_original_curve(_spcurve, false, false);
else
SP_SHAPE(_path)->setCurve(_spcurve, false);
}