summaryrefslogtreecommitdiffstats
path: root/src/draw-anchor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw-anchor.cpp')
-rw-r--r--src/draw-anchor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/draw-anchor.cpp b/src/draw-anchor.cpp
index f2af728cf..b06e94a48 100644
--- a/src/draw-anchor.cpp
+++ b/src/draw-anchor.cpp
@@ -34,7 +34,7 @@ sp_draw_anchor_new(SPDrawContext *dc, SPCurve *curve, gboolean start, NR::Point
a->start = start;
a->active = FALSE;
a->dp = delta;
- a->ctrl = sp_canvas_item_new(SP_DT_CONTROLS(dt), SP_TYPE_CTRL,
+ a->ctrl = sp_canvas_item_new(sp_desktop_controls(dt), SP_TYPE_CTRL,
"size", 6.0,
"filled", 0,
"fill_color", 0xff00007f,