summaryrefslogtreecommitdiffstats
path: root/src/gradient-context.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mailat-signdiedenrezidotnl>2010-01-23 13:36:56 +0000
committerDiederik van Lierop <mailat-signdiedenrezidotnl>2010-01-23 13:36:56 +0000
commitc4aa590bedcf358acf15bdf0d8134ae99e3be167 (patch)
tree6808d0d57dfb83e91d02762c3c12225f1053c83e /src/gradient-context.cpp
parentFix some of the LPE issues. (diff)
downloadinkscape-c4aa590bedcf358acf15bdf0d8134ae99e3be167.tar.gz
inkscape-c4aa590bedcf358acf15bdf0d8134ae99e3be167.zip
Remove redundancy from snapping API (type of snapsource no longer has to be specified explicitly)
(bzr r9014)
Diffstat (limited to 'src/gradient-context.cpp')
-rw-r--r--src/gradient-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gradient-context.cpp b/src/gradient-context.cpp
index fc5c1af44..a1fcf582b 100644
--- a/src/gradient-context.cpp
+++ b/src/gradient-context.cpp
@@ -558,7 +558,7 @@ sp_gradient_context_root_handler(SPEventContext *event_context, GdkEvent *event)
SnapManager &m = desktop->namedview->snap_manager;
m.setup(desktop);
- m.freeSnapReturnByRef(Inkscape::SnapPreferences::SNAPPOINT_NODE, button_dt, Inkscape::SNAPSOURCE_HANDLE);
+ m.freeSnapReturnByRef(button_dt, Inkscape::SNAPSOURCE_NODE_HANDLE);
rc->origin = from_2geom(button_dt);
}