From 7e8797abd4ff266134f2d60ea59f4cc82f18cf82 Mon Sep 17 00:00:00 2001 From: John Smith Date: Tue, 3 Apr 2012 10:32:18 +0900 Subject: Fix for 367607 : Remove deprecated GTK+ symbols - Deprecated *_unref symbols and combo_box fixes (bzr r11140) --- src/display/canvas-grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/display/canvas-grid.cpp') 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; -- cgit v1.2.3