summaryrefslogtreecommitdiffstats
path: root/src/arc-context.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/arc-context.cpp
parentAdded tool style for eraser. (diff)
downloadinkscape-88f4b0093529c35964c39b589a0b614ad231d02c.tar.gz
inkscape-88f4b0093529c35964c39b589a0b614ad231d02c.zip
C++ify knotholders
(bzr r5797)
Diffstat (limited to 'src/arc-context.cpp')
-rw-r--r--src/arc-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arc-context.cpp b/src/arc-context.cpp
index e3dc7161c..e1cbaf1cc 100644
--- a/src/arc-context.cpp
+++ b/src/arc-context.cpp
@@ -123,7 +123,7 @@ static void sp_arc_context_dispose(GObject *object)
ac->sel_changed_connection.~connection();
if (ec->shape_knot_holder) {
- sp_knot_holder_destroy(ec->shape_knot_holder);
+ delete ec->shape_knot_holder;
ec->shape_knot_holder = NULL;
}
@@ -161,7 +161,7 @@ void sp_arc_context_selection_changed(Inkscape::Selection * selection, gpointer
SPEventContext *ec = SP_EVENT_CONTEXT(ac);
if (ec->shape_knot_holder) { // desktroy knotholder
- sp_knot_holder_destroy(ec->shape_knot_holder);
+ delete ec->shape_knot_holder;
ec->shape_knot_holder = NULL;
}