summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-06-04 12:19:54 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-06-04 12:19:54 +0000
commit88f4b0093529c35964c39b589a0b614ad231d02c (patch)
treec0c2cf46cdd788415efe2e15e398779b24607b8a /src/shape-editor.cpp
parentAdded tool style for eraser. (diff)
downloadinkscape-88f4b0093529c35964c39b589a0b614ad231d02c.tar.gz
inkscape-88f4b0093529c35964c39b589a0b614ad231d02c.zip
C++ify knotholders
(bzr r5797)
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 49d8a2a14..3b892db03 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -82,7 +82,7 @@ void ShapeEditor::unset_item() {
}
if (this->knotholder) {
- sp_knot_holder_destroy(this->knotholder);
+ delete this->knotholder;
this->knotholder = NULL;
}
}
@@ -257,7 +257,7 @@ void ShapeEditor::set_item_lpe_path_parameter(SPItem *item, SPObject *lpeobject,
* pass a new knotholder to ShapeEditor to manage (and delete)
*/
void
-ShapeEditor::set_knotholder(SPKnotHolder * knot_holder)
+ShapeEditor::set_knotholder(KnotHolder * knot_holder)
{
unset_item();