summaryrefslogtreecommitdiffstats
path: root/src/display/sp-canvas.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-04-03 01:32:18 +0000
committerJohn Smith <removethis.john.q.public@bigmail.com>2012-04-03 01:32:18 +0000
commit7e8797abd4ff266134f2d60ea59f4cc82f18cf82 (patch)
tree6e75a94000f687b11506176e10488a05f2599dbf /src/display/sp-canvas.cpp
parentFix for 367607 : Remove deprecated GTK+ symbols - Deprecated *_unref symbols ... (diff)
downloadinkscape-7e8797abd4ff266134f2d60ea59f4cc82f18cf82.tar.gz
inkscape-7e8797abd4ff266134f2d60ea59f4cc82f18cf82.zip
Fix for 367607 : Remove deprecated GTK+ symbols - Deprecated *_unref symbols and combo_box fixes
(bzr r11140)
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 e5be4f8a9..f352133e5 100644
--- a/src/display/sp-canvas.cpp
+++ b/src/display/sp-canvas.cpp
@@ -1078,7 +1078,7 @@ void SPCanvasGroup::viewboxChanged(SPCanvasItem *item, Geom::IntRect const &new_
void SPCanvasGroup::add(SPCanvasItem *item)
{
- gtk_object_ref( GTK_OBJECT(item) );
+ g_object_ref(item);
g_object_ref_sink(item);
if (!items) {
@@ -1181,7 +1181,7 @@ void SPCanvasImpl::init(SPCanvas *canvas)
canvas->root = SP_CANVAS_ITEM(g_object_new(SPCanvasGroup::getType(), NULL));
canvas->root->canvas = canvas;
- gtk_object_ref (GTK_OBJECT (canvas->root));
+ g_object_ref (canvas->root);
g_object_ref_sink (canvas->root);
canvas->need_repick = TRUE;
@@ -1484,7 +1484,7 @@ int SPCanvasImpl::emitEvent(SPCanvas *canvas, GdkEvent *event)
gint finished = FALSE;
while (item && !finished) {
- gtk_object_ref (GTK_OBJECT (item));
+ g_object_ref (item);
g_signal_emit (G_OBJECT (item), item_signals[ITEM_EVENT], 0, &ev, &finished);
SPCanvasItem *parent = item->parent;
g_object_unref (item);