From e2a6ff85eaa5a4411ac70c642f78f4791d9d9d46 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Thu, 28 Aug 2008 19:32:55 +0000 Subject: Modify the parameters required for setting up the SnapManager (bzr r6722) --- src/pencil-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pencil-context.cpp') diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index 69afdf614..cb1039119 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -350,7 +350,7 @@ pencil_handle_motion_notify(SPPencilContext *const pc, GdkEventMotion const &mev p = to_2geom(anchor->dp); } else if ((mevent.state & GDK_SHIFT_MASK) == 0) { SnapManager &m = dt->namedview->snap_manager; - m.setup(dt, NULL); + m.setup(dt); m.freeSnapReturnByRef(Inkscape::Snapper::SNAPPOINT_NODE, p); } if ( pc->npoints != 0 ) { // buttonpress may have happened before we entered draw context! -- cgit v1.2.3