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 591129d0b..2133d5de6 100644
--- a/src/draw-anchor.cpp
+++ b/src/draw-anchor.cpp
@@ -65,7 +65,7 @@ SPDrawAnchor *sp_draw_anchor_destroy(SPDrawAnchor *anchor)
anchor->curve->unref();
}
if (anchor->ctrl) {
- gtk_object_destroy(GTK_OBJECT(anchor->ctrl));
+ sp_canvas_item_destroy(anchor->ctrl);
}
g_free(anchor);
return NULL;