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/arc-context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arc-context.cpp') 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; } -- cgit v1.2.3