summaryrefslogtreecommitdiffstats
path: root/src/rect-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/rect-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/rect-context.cpp')
-rw-r--r--src/rect-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rect-context.cpp b/src/rect-context.cpp
index 999aa03b8..bbb809ef2 100644
--- a/src/rect-context.cpp
+++ b/src/rect-context.cpp
@@ -305,7 +305,7 @@ static gint sp_rect_context_root_handler(SPEventContext *event_context, GdkEvent
/* Snap center */
SnapManager &m = desktop->namedview->snap_manager;
- m.setup(desktop, NULL); //null, because we don't have an item yet
+ m.setup(desktop);
m.freeSnapReturnByRef(Inkscape::Snapper::SNAPPOINT_NODE, button_dt);
rc->center = from_2geom(button_dt);