summaryrefslogtreecommitdiffstats
path: root/src/display/canvas-grid.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/canvas-grid.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/canvas-grid.cpp')
-rw-r--r--src/display/canvas-grid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/canvas-grid.cpp b/src/display/canvas-grid.cpp
index 1cc6e72ed..92a1b0fb8 100644
--- a/src/display/canvas-grid.cpp
+++ b/src/display/canvas-grid.cpp
@@ -311,7 +311,7 @@ CanvasGrid::createCanvasItem(SPDesktop * desktop)
item->grid = this;
sp_canvas_item_show(SP_CANVAS_ITEM(item));
- gtk_object_ref(GTK_OBJECT(item)); // since we're keeping a link to this item, we need to bump up the ref count
+ g_object_ref(item); // since we're keeping a link to this item, we need to bump up the ref count
canvasitems = g_slist_prepend(canvasitems, item);
return item;