summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gradient-drag.cpp')
-rw-r--r--src/gradient-drag.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp
index 11de93d68..227a5f003 100644
--- a/src/gradient-drag.cpp
+++ b/src/gradient-drag.cpp
@@ -348,7 +348,7 @@ GrDrag::addStopNearPoint (SPItem *item, Geom::Point mouse_p, double tolerance)
SPStop *newstop = sp_vector_add_stop (vector, prev_stop, next_stop, offset);
- sp_gradient_ensure_vector (gradient);
+ gradient->ensureVector();
updateDraggers();
return newstop;