summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-12-21 20:51:24 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-12-21 20:51:24 +0000
commit9ae37e8df1124ebd67e3d6dc24429d03919144ea (patch)
tree773ea0331099093fd8fae8f5448fae973bcf5a63 /src/selection-chemistry.cpp
parentPurge sp_desktop_main (diff)
downloadinkscape-9ae37e8df1124ebd67e3d6dc24429d03919144ea.tar.gz
inkscape-9ae37e8df1124ebd67e3d6dc24429d03919144ea.zip
Purge sp_desktop_sketch and sp_desktop_tempgroup
(bzr r13816)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index 91200bacb..1935cf62f 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -2856,7 +2856,7 @@ sp_select_clone_original(SPDesktop *desktop)
curve->moveto(a->midpoint());
curve->lineto(b->midpoint());
- SPCanvasItem * canvasitem = sp_canvas_bpath_new(sp_desktop_tempgroup(desktop), curve);
+ SPCanvasItem * canvasitem = sp_canvas_bpath_new(desktop->getTempGroup(), curve);
sp_canvas_bpath_set_stroke(SP_CANVAS_BPATH(canvasitem), 0x0000ddff, 1.0, SP_STROKE_LINEJOIN_MITER, SP_STROKE_LINECAP_BUTT, 5, 3);
sp_canvas_item_show(canvasitem);
curve->unref();