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/spiral-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/spiral-context.cpp')
| -rw-r--r-- | src/spiral-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spiral-context.cpp b/src/spiral-context.cpp index e86859369..56c5b0ebd 100644 --- a/src/spiral-context.cpp +++ b/src/spiral-context.cpp @@ -131,7 +131,7 @@ sp_spiral_context_dispose(GObject *object) if (sc->item) sp_spiral_finish(sc); if (ec->shape_knot_holder) { - sp_knot_holder_destroy(ec->shape_knot_holder); + delete ec->shape_knot_holder; ec->shape_knot_holder = NULL; } @@ -167,7 +167,7 @@ sp_spiral_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; } |
