summaryrefslogtreecommitdiffstats
path: root/src/context-fns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/context-fns.cpp')
-rw-r--r--src/context-fns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context-fns.cpp b/src/context-fns.cpp
index e58476147..9acba2827 100644
--- a/src/context-fns.cpp
+++ b/src/context-fns.cpp
@@ -86,7 +86,7 @@ NR::Rect Inkscape::snap_rectangular_box(SPDesktop const *desktop, SPItem *item,
bool const control = state & GDK_CONTROL_MASK;
SnapManager &m = desktop->namedview->snap_manager;
- m.setup(NULL, item);
+ m.setup(desktop, false, item);
Inkscape::SnappedPoint snappoint;
if (control) {