summaryrefslogtreecommitdiffstats
path: root/src/helper/unit-menu.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-06-25 23:29:40 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-06-25 23:29:40 +0000
commit59e1bb938278f59e0e2dbc2d179230b5f73467b6 (patch)
tree59d81ff64e06c5ea213d9fe5b5048ed874b047fb /src/helper/unit-menu.cpp
parentGtk cleanup: GTK_WIDGET_IS_SENSITIVE (diff)
downloadinkscape-59e1bb938278f59e0e2dbc2d179230b5f73467b6.tar.gz
inkscape-59e1bb938278f59e0e2dbc2d179230b5f73467b6.zip
Gtk cleanup: gtk_object_set_data
(bzr r10350.1.5)
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 bcc8589e2..80ea216b3 100644
--- a/src/helper/unit-menu.cpp
+++ b/src/helper/unit-menu.cpp
@@ -232,7 +232,7 @@ spus_rebuild_menu(SPUnitSelector *us)
// i = gtk_menu_item_new_with_label((us->abbr) ? (us->plural) ? u->abbr_plural : u->abbr : (us->plural) ? u->plural : u->name);
GtkWidget *i = gtk_menu_item_new_with_label( u->abbr );
- gtk_object_set_data(GTK_OBJECT(i), "unit", (gpointer) u);
+ g_object_set_data(G_OBJECT(i), "unit", (gpointer) u);
g_signal_connect(G_OBJECT(i), "activate", G_CALLBACK(spus_unit_activate), us);
sp_set_font_size_smaller (i);