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/event-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/event-context.cpp') diff --git a/src/event-context.cpp b/src/event-context.cpp index f482c99fb..017c06c16 100644 --- a/src/event-context.cpp +++ b/src/event-context.cpp @@ -1053,7 +1053,7 @@ ec_shape_event_attr_changed(Inkscape::XML::Node */*shape_repr*/, gchar const *na SPEventContext *ec = SP_EVENT_CONTEXT(data); if (ec->shape_knot_holder) { - sp_knot_holder_destroy(ec->shape_knot_holder); + delete ec->shape_knot_holder; } ec->shape_knot_holder = NULL; -- cgit v1.2.3