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/star-context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/star-context.cpp') diff --git a/src/star-context.cpp b/src/star-context.cpp index 1b3b1e7b0..c5fa5a0b9 100644 --- a/src/star-context.cpp +++ b/src/star-context.cpp @@ -132,7 +132,7 @@ sp_star_context_dispose (GObject *object) sc->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; } @@ -174,7 +174,7 @@ sp_star_context_selection_changed (Inkscape::Selection * selection, gpointer dat SPEventContext *ec = SP_EVENT_CONTEXT (sc); 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