diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-06-09 13:54:29 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-06-09 13:54:29 +0000 |
| commit | 917c026dbb0810c7614df785c86066079937b723 (patch) | |
| tree | df7a4a357c7483216c7d805406bd79ff3c21c7c1 /src/vanishing-point.cpp | |
| parent | Move measure angle string to keep it visible when angle is small. (diff) | |
| parent | Stop deriving SPCanvasItem from GtkObject (diff) | |
| download | inkscape-917c026dbb0810c7614df785c86066079937b723.tar.gz inkscape-917c026dbb0810c7614df785c86066079937b723.zip | |
Refactor SPCanvasItem to no longer derive from GtkObject
(bzr r11470)
Diffstat (limited to 'src/vanishing-point.cpp')
| -rw-r--r-- | src/vanishing-point.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
