diff --git a/src/draw-anchor.cpp b/src/draw-anchor.cpp
index 2a3279075b4403af4f51859fff9bb600b0a0d511..b06e94a48f0eccf8429af96ae0ec9e284dd24560 100644 (file)
--- a/src/draw-anchor.cpp
+++ b/src/draw-anchor.cpp
-/** \file
+/** \file
* Anchors implementation.
*/
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,
#define A_SNAP 4.0
/**
- * Test if point is near anchor, if so fill anchor on canvas and return
+ * Test if point is near anchor, if so fill anchor on canvas and return
* pointer to it or NULL.
*/
SPDrawAnchor *