summaryrefslogtreecommitdiffstats
path: root/src/helper/unit-menu.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-06-26 01:01:30 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-06-26 01:01:30 +0000
commit5d58fb8d721f6825521985f0b48433d8b9d313c3 (patch)
tree9224da3c00333f25afc6ef70734464df72509bd5 /src/helper/unit-menu.cpp
parentGtk cleanup: gtk_menu_append (diff)
parentGtk cleanup: gtk_object_get_data (diff)
downloadinkscape-5d58fb8d721f6825521985f0b48433d8b9d313c3.tar.gz
inkscape-5d58fb8d721f6825521985f0b48433d8b9d313c3.zip
Gtk cleanup: gtk_object_get_data
(bzr r10365)
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 80ea216b3..dc65c3d14 100644
--- a/src/helper/unit-menu.cpp
+++ b/src/helper/unit-menu.cpp
@@ -163,7 +163,7 @@ sp_unit_selector_get_unit(SPUnitSelector const *us)
static void
spus_unit_activate(GtkWidget *widget, SPUnitSelector *us)
{
- SPUnit const *unit = (SPUnit const *) gtk_object_get_data(GTK_OBJECT(widget), "unit");
+ SPUnit const *unit = (SPUnit const *) g_object_get_data(G_OBJECT(widget), "unit");
g_return_if_fail(unit != NULL);
#ifdef UNIT_SELECTOR_VERBOSE