summaryrefslogtreecommitdiffstats
path: root/src/display/canvas-temporary-item.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-06-09 13:40:09 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-06-09 13:40:09 +0000
commit62dd6c138e3547689acdcccbb289d822b458cdb0 (patch)
treedf7a4a357c7483216c7d805406bd79ff3c21c7c1 /src/display/canvas-temporary-item.cpp
parentMove measure angle string to keep it visible when angle is small. (diff)
downloadinkscape-62dd6c138e3547689acdcccbb289d822b458cdb0.tar.gz
inkscape-62dd6c138e3547689acdcccbb289d822b458cdb0.zip
Stop deriving SPCanvasItem from GtkObject
(bzr r11469.1.1)
Diffstat (limited to 'src/display/canvas-temporary-item.cpp')
-rw-r--r--src/display/canvas-temporary-item.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/display/canvas-temporary-item.cpp b/src/display/canvas-temporary-item.cpp
index abe5f2f1b..551ea1536 100644
--- a/src/display/canvas-temporary-item.cpp
+++ b/src/display/canvas-temporary-item.cpp
@@ -17,6 +17,7 @@
#include "display/canvas-temporary-item.h"
#include <gtk/gtk.h>
+#include "display/sp-canvas-item.h"
namespace Inkscape {
namespace Display {
@@ -48,7 +49,7 @@ TemporaryItem::~TemporaryItem()
if (canvasitem) {
// destroying the item automatically hides it
- gtk_object_destroy (GTK_OBJECT (canvasitem));
+ sp_canvas_item_destroy(canvasitem);
canvasitem = NULL;
}
}