From 88f4b0093529c35964c39b589a0b614ad231d02c Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Wed, 4 Jun 2008 12:19:54 +0000 Subject: C++ify knotholders (bzr r5797) --- src/shape-editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shape-editor.cpp') 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(); -- cgit v1.2.3