summaryrefslogtreecommitdiffstats
path: root/src/display/sp-canvas.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-04-02 14:10:25 +0000
committerJohn Smith <removethis.john.q.public@bigmail.com>2012-04-02 14:10:25 +0000
commitaa45c83d224836b06d805b74912a2e98dfe32874 (patch)
treec7f7e1e8a3b2a97d27b70e43b4fa55bfdc92c6b3 /src/display/sp-canvas.cpp
parentfix XML output of guideline color (diff)
downloadinkscape-aa45c83d224836b06d805b74912a2e98dfe32874.tar.gz
inkscape-aa45c83d224836b06d805b74912a2e98dfe32874.zip
Fix for 367607 : Remove deprecated GTK+ symbols - Deprecated *_unref symbols replaced with g_object_unref
(bzr r11139)
Diffstat (limited to 'src/display/sp-canvas.cpp')
-rw-r--r--src/display/sp-canvas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp
index 11836baa2..e5be4f8a9 100644
--- a/src/display/sp-canvas.cpp
+++ b/src/display/sp-canvas.cpp
@@ -1100,7 +1100,7 @@ void SPCanvasGroup::remove(SPCanvasItem *item)
// Unparent the child
item->parent = NULL;
- gtk_object_unref(GTK_OBJECT(item));
+ g_object_unref(item);
// Remove it from the list
if (children == last) {
@@ -1242,7 +1242,7 @@ void SPCanvasImpl::destroy(GtkObject *object)
SPCanvas *canvas = SP_CANVAS(object);
if (canvas->root) {
- gtk_object_unref (GTK_OBJECT (canvas->root));
+ g_object_unref (canvas->root);
canvas->root = NULL;
}
@@ -1487,7 +1487,7 @@ int SPCanvasImpl::emitEvent(SPCanvas *canvas, GdkEvent *event)
gtk_object_ref (GTK_OBJECT (item));
g_signal_emit (G_OBJECT (item), item_signals[ITEM_EVENT], 0, &ev, &finished);
SPCanvasItem *parent = item->parent;
- gtk_object_unref (GTK_OBJECT (item));
+ g_object_unref (item);
item = parent;
}