summaryrefslogtreecommitdiffstats
path: root/src/helper/unit-menu.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/helper/unit-menu.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/helper/unit-menu.cpp')
-rw-r--r--src/helper/unit-menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/unit-menu.cpp b/src/helper/unit-menu.cpp
index ea1ddde5e..964ca9d67 100644
--- a/src/helper/unit-menu.cpp
+++ b/src/helper/unit-menu.cpp
@@ -326,7 +326,7 @@ sp_unit_selector_add_adjustment(SPUnitSelector *us, GtkAdjustment *adj)
g_return_if_fail(!g_slist_find(us->adjustments, adj));
- gtk_object_ref(GTK_OBJECT(adj));
+ g_object_ref(adj);
us->adjustments = g_slist_prepend(us->adjustments, adj);
}