diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2011-06-26 01:00:32 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2011-06-26 01:00:32 +0000 |
| commit | 49998c62a04c371d3b9951daa6447cd1de8ba7f8 (patch) | |
| tree | de37542fc431ee46d7940ef89e7dd5063b612d39 /src/helper/unit-menu.cpp | |
| parent | Gtk cleanup: gtk_menu_append (diff) | |
| download | inkscape-49998c62a04c371d3b9951daa6447cd1de8ba7f8.tar.gz inkscape-49998c62a04c371d3b9951daa6447cd1de8ba7f8.zip | |
Gtk cleanup: gtk_object_get_data
(bzr r10350.1.8)
Diffstat (limited to 'src/helper/unit-menu.cpp')
| -rw-r--r-- | src/helper/unit-menu.cpp | 2 |
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 |
