summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-12-21 21:12:46 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-12-21 21:12:46 +0000
commitcc7cd3e3f64a8d6c1cc16cb5fa4fa76793d23caf (patch)
tree8e637efc6e0ba74ebae2bb57c9c17dfeae296ca8 /src/gradient-drag.cpp
parentPurge sp_desktop_guides (diff)
downloadinkscape-cc7cd3e3f64a8d6c1cc16cb5fa4fa76793d23caf.tar.gz
inkscape-cc7cd3e3f64a8d6c1cc16cb5fa4fa76793d23caf.zip
Purge sp_desktop_controls
(bzr r13819)
Diffstat (limited to '')
-rw-r--r--src/gradient-drag.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp
index 71a43164d..d38ae666e 100644
--- a/src/gradient-drag.cpp
+++ b/src/gradient-drag.cpp
@@ -1869,7 +1869,7 @@ void GrDrag::setDeselected(GrDragger *dragger)
void GrDrag::addLine(SPItem *item, Geom::Point p1, Geom::Point p2, Inkscape::PaintTarget fill_or_stroke)
{
CtrlLineType type = (fill_or_stroke == Inkscape::FOR_FILL) ? CTLINE_PRIMARY : CTLINE_SECONDARY;
- SPCtrlLine *line = ControlManager::getManager().createControlLine(sp_desktop_controls(this->desktop), p1, p2, type);
+ SPCtrlLine *line = ControlManager::getManager().createControlLine(this->desktop->getControls(), p1, p2, type);
sp_canvas_item_move_to_z(line, 0);
line->item = item;
@@ -1885,7 +1885,7 @@ void GrDrag::addLine(SPItem *item, Geom::Point p1, Geom::Point p2, Inkscape::Pai
void GrDrag::addCurve(SPItem *item, Geom::Point p0, Geom::Point p1, Geom::Point p2, Geom::Point p3, Inkscape::PaintTarget fill_or_stroke)
{
CtrlLineType type = (fill_or_stroke == Inkscape::FOR_FILL) ? CTLINE_PRIMARY : CTLINE_SECONDARY;
- SPCtrlCurve *line = ControlManager::getManager().createControlCurve(sp_desktop_controls(this->desktop), p0, p1, p2, p3, type);
+ SPCtrlCurve *line = ControlManager::getManager().createControlCurve(this->desktop->getControls(), p0, p1, p2, p3, type);
sp_canvas_item_move_to_z(line, 0);
line->item = item;