summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2008-08-28 19:32:55 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2008-08-28 19:32:55 +0000
commite2a6ff85eaa5a4411ac70c642f78f4791d9d9d46 (patch)
tree2740560017f69a77edaf5ace7ad0705c9dc1b5df /src/pencil-context.cpp
parentnull check fixes patch from bug 261475 (diff)
downloadinkscape-e2a6ff85eaa5a4411ac70c642f78f4791d9d9d46.tar.gz
inkscape-e2a6ff85eaa5a4411ac70c642f78f4791d9d9d46.zip
Modify the parameters required for setting up the SnapManager
(bzr r6722)
Diffstat (limited to 'src/pencil-context.cpp')
-rw-r--r--src/pencil-context.cpp2
1 files changed, 1 insertions, 1 deletions
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!