From 62dd6c138e3547689acdcccbb289d822b458cdb0 Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Sat, 9 Jun 2012 14:40:09 +0100 Subject: Stop deriving SPCanvasItem from GtkObject (bzr r11469.1.1) --- src/vanishing-point.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vanishing-point.cpp') diff --git a/src/vanishing-point.cpp b/src/vanishing-point.cpp index 20758d37c..f342f2c69 100644 --- a/src/vanishing-point.cpp +++ b/src/vanishing-point.cpp @@ -523,7 +523,7 @@ VPDrag::~VPDrag() this->draggers = NULL; for (GSList const *i = this->lines; i != NULL; i = i->next) { - gtk_object_destroy( GTK_OBJECT (i->data)); + sp_canvas_item_destroy(SP_CANVAS_ITEM(i->data)); } g_slist_free (this->lines); this->lines = NULL; @@ -597,7 +597,7 @@ VPDrag::updateLines () { // delete old lines for (GSList const *i = this->lines; i != NULL; i = i->next) { - gtk_object_destroy( GTK_OBJECT (i->data)); + sp_canvas_item_destroy(SP_CANVAS_ITEM(i->data)); } g_slist_free (this->lines); this->lines = NULL; -- cgit v1.2.3