summaryrefslogtreecommitdiffstats
path: root/src/helper/unit-menu.cpp
diff options
context:
space:
mode:
authorDenis Declara <declara91@gmail.com>2012-04-15 12:29:45 +0000
committerDenis Declara <declara91@gmail.com>2012-04-15 12:29:45 +0000
commit6b5ff661a46ea1779c86f6947006c5ed32926117 (patch)
treea5b170f0830854e99ad065055ee2a3996933e614 /src/helper/unit-menu.cpp
parentImproved User interface. (diff)
parenti18n. Fix for Bug #980518 (Please use c-format). (diff)
downloadinkscape-6b5ff661a46ea1779c86f6947006c5ed32926117.tar.gz
inkscape-6b5ff661a46ea1779c86f6947006c5ed32926117.zip
Trunk merge
(bzr r11073.1.15)
Diffstat (limited to 'src/helper/unit-menu.cpp')
-rw-r--r--src/helper/unit-menu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/unit-menu.cpp b/src/helper/unit-menu.cpp
index ce64cabf4..964ca9d67 100644
--- a/src/helper/unit-menu.cpp
+++ b/src/helper/unit-menu.cpp
@@ -132,7 +132,7 @@ sp_unit_selector_finalize(GObject *object)
}
while (selector->adjustments) {
- gtk_object_unref(GTK_OBJECT(selector->adjustments->data));
+ g_object_unref(selector->adjustments->data);
selector->adjustments = g_slist_remove(selector->adjustments, selector->adjustments->data);
}
@@ -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);
}
@@ -341,7 +341,7 @@ sp_unit_selector_remove_adjustment(SPUnitSelector *us, GtkAdjustment *adj)
g_return_if_fail(g_slist_find(us->adjustments, adj));
us->adjustments = g_slist_remove(us->adjustments, adj);
- gtk_object_unref(GTK_OBJECT(adj));
+ g_object_unref(adj);
}
gboolean