X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fspiral-context.cpp;h=3e431667f25ec3defcab471cd1400c8c605506c1;hb=876aa46cb01ee981a0a6dcc39af6fdace7be56bc;hp=e868593697e30ab300571ddb76e02deb07deb7d8;hpb=5349b935f0a455adc0edcccc448b31af0ed421f9;p=inkscape.git diff --git a/src/spiral-context.cpp b/src/spiral-context.cpp index e86859369..3e431667f 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; } @@ -273,6 +273,7 @@ sp_spiral_context_root_handler(SPEventContext *event_context, GdkEvent *event) ( GDK_KEY_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_POINTER_MOTION_MASK | + GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK ), NULL, event->button.time); ret = TRUE;