diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-06-04 12:19:54 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-06-04 12:19:54 +0000 |
| commit | 88f4b0093529c35964c39b589a0b614ad231d02c (patch) | |
| tree | c0c2cf46cdd788415efe2e15e398779b24607b8a /src/star-context.cpp | |
| parent | Added tool style for eraser. (diff) | |
| download | inkscape-88f4b0093529c35964c39b589a0b614ad231d02c.tar.gz inkscape-88f4b0093529c35964c39b589a0b614ad231d02c.zip | |
C++ify knotholders
(bzr r5797)
Diffstat (limited to 'src/star-context.cpp')
| -rw-r--r-- | src/star-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
