diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-12-21 21:12:46 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-12-21 21:12:46 +0000 |
| commit | cc7cd3e3f64a8d6c1cc16cb5fa4fa76793d23caf (patch) | |
| tree | 8e637efc6e0ba74ebae2bb57c9c17dfeae296ca8 /src/selcue.cpp | |
| parent | Purge sp_desktop_guides (diff) | |
| download | inkscape-cc7cd3e3f64a8d6c1cc16cb5fa4fa76793d23caf.tar.gz inkscape-cc7cd3e3f64a8d6c1cc16cb5fa4fa76793d23caf.zip | |
Purge sp_desktop_controls
(bzr r13819)
Diffstat (limited to 'src/selcue.cpp')
| -rw-r--r-- | src/selcue.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/selcue.cpp b/src/selcue.cpp index 84c131dde..67744e1f8 100644 --- a/src/selcue.cpp +++ b/src/selcue.cpp @@ -155,7 +155,7 @@ void Inkscape::SelCue::_newItemBboxes() if (b) { if (mode == MARK) { - box = sp_canvas_item_new(sp_desktop_controls(_desktop), + box = sp_canvas_item_new(_desktop->getControls(), SP_TYPE_CTRL, "mode", SP_CTRL_MODE_XOR, "shape", SP_CTRL_SHAPE_DIAMOND, @@ -171,7 +171,7 @@ void Inkscape::SelCue::_newItemBboxes() sp_canvas_item_move_to_z(box, 0); // just low enough to not get in the way of other draggable knots } else if (mode == BBOX) { - box = sp_canvas_item_new(sp_desktop_controls(_desktop), + box = sp_canvas_item_new(_desktop->getControls(), SP_TYPE_CTRLRECT, NULL); @@ -208,7 +208,7 @@ void Inkscape::SelCue::_newTextBaselines() if (layout != NULL && layout->outputExists()) { boost::optional<Geom::Point> pt = layout->baselineAnchorPoint(); if (pt) { - baseline_point = sp_canvas_item_new(sp_desktop_controls(_desktop), SP_TYPE_CTRL, + baseline_point = sp_canvas_item_new(_desktop->getControls(), SP_TYPE_CTRL, "mode", SP_CTRL_MODE_XOR, "size", 4.0, "filled", 0, |
