summaryrefslogtreecommitdiffstats
path: root/src/helper/unit-menu.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-06-25 23:31:09 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-06-25 23:31:09 +0000
commit26f1407a6260f3ac0bc1546edca89f4012316dde (patch)
treed47f2ef534a361f63ba7f52425df9f854145c01a /src/helper/unit-menu.cpp
parentGtk cleanup: GTK_WIDGET_IS_SENSITIVE (diff)
parentGtk cleanup: gtk_object_set_data (diff)
downloadinkscape-26f1407a6260f3ac0bc1546edca89f4012316dde.tar.gz
inkscape-26f1407a6260f3ac0bc1546edca89f4012316dde.zip
Gtk cleanup: gtk_object_set_data
(bzr r10363)
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);