summaryrefslogtreecommitdiffstats
path: root/src/spiral-context.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2008-05-16 21:53:27 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2008-05-16 21:53:27 +0000
commita6f2609902125fe035cba64cc9431b0e83d9ab30 (patch)
tree875773d5d31c34343c0e00966583eea6f66c7936 /src/spiral-context.cpp
parent* share/extensions/Makefile.am: Don't run make in the Poly3DObjects (diff)
downloadinkscape-a6f2609902125fe035cba64cc9431b0e83d9ab30.tar.gz
inkscape-a6f2609902125fe035cba64cc9431b0e83d9ab30.zip
Fix a regression in the snapper, caused by me. Sorry!
(bzr r5680)
Diffstat (limited to 'src/spiral-context.cpp')
-rw-r--r--src/spiral-context.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spiral-context.cpp b/src/spiral-context.cpp
index 57c06e4a3..31ec40d50 100644
--- a/src/spiral-context.cpp
+++ b/src/spiral-context.cpp
@@ -267,7 +267,7 @@ sp_spiral_context_root_handler(SPEventContext *event_context, GdkEvent *event)
SnapManager &m = desktop->namedview->snap_manager;
m.setup(desktop, sc->item);
- m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, sc->center);
+ m.freeSnapReturnByRef(Inkscape::Snapper::SNAPPOINT_NODE, sc->center);
sp_canvas_item_grab(SP_CANVAS_ITEM(desktop->acetate),
( GDK_KEY_PRESS_MASK |
@@ -296,7 +296,7 @@ sp_spiral_context_root_handler(SPEventContext *event_context, GdkEvent *event)
SnapManager &m = desktop->namedview->snap_manager;
m.setup(desktop, sc->item);
- m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, motion_dt);
+ m.freeSnapReturnByRef(Inkscape::Snapper::SNAPPOINT_NODE, motion_dt);
sp_spiral_drag(sc, motion_dt, event->motion.state);
gobble_motion_events(GDK_BUTTON1_MASK);
@@ -440,7 +440,7 @@ sp_spiral_drag(SPSpiralContext *sc, NR::Point p, guint state)
NR::Point p1 = sp_desktop_dt2root_xy_point(desktop, p);
SnapManager &m = desktop->namedview->snap_manager;
m.setup(desktop, sc->item);
- m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, p1);
+ m.freeSnapReturnByRef(Inkscape::Snapper::SNAPPOINT_NODE, p1);
SPSpiral *spiral = SP_SPIRAL(sc->item);