aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2003-02-07 17:53:11 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-02-07 17:53:11 +0800
commit88698ec92ad1747d0591144fa9227f6b10f19215 (patch)
treee8869c26a3e56aee3dde34a615cb52b083accfa8 /widgets/misc
parent0f8f0ea3c6f6c9553965fcb160e4bbd285c8c252 (diff)
downloadgsoc2013-evolution-88698ec92ad1747d0591144fa9227f6b10f19215.tar
gsoc2013-evolution-88698ec92ad1747d0591144fa9227f6b10f19215.tar.gz
gsoc2013-evolution-88698ec92ad1747d0591144fa9227f6b10f19215.tar.bz2
gsoc2013-evolution-88698ec92ad1747d0591144fa9227f6b10f19215.tar.lz
gsoc2013-evolution-88698ec92ad1747d0591144fa9227f6b10f19215.tar.xz
gsoc2013-evolution-88698ec92ad1747d0591144fa9227f6b10f19215.tar.zst
gsoc2013-evolution-88698ec92ad1747d0591144fa9227f6b10f19215.zip
replaced deprecated calls (gtk_menu_append -> gtk_menu_shell_append and
2003-02-07 Radek Doulik <rodo@ximian.com> * gal/widgets/e-popup-menu.c (e_popup_menu_create_with_domain): replaced deprecated calls (gtk_menu_append -> gtk_menu_shell_append and gtk_radio_menu_item_group -> gtk_radio_menu_item_get_group) svn path=/trunk/; revision=19841
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-popup-menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-popup-menu.c b/widgets/misc/e-popup-menu.c
index b8745625ca..8607cd1b01 100644
--- a/widgets/misc/e-popup-menu.c
+++ b/widgets/misc/e-popup-menu.c
@@ -117,14 +117,14 @@ e_popup_menu_create_with_domain (EPopupMenu *menu_list,
if (menu_list[i].is_toggle || menu_list[i].is_radio)
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), menu_list[i].is_active);
if (menu_list[i].is_radio)
- group = gtk_radio_menu_item_group (GTK_RADIO_MENU_ITEM (item));
+ group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (item));
make_item (menu, GTK_MENU_ITEM (item), dgettext(domain, menu_list[i].name), menu_list[i].pixmap_widget);
} else {
item = gtk_menu_item_new ();
}
- gtk_menu_append (menu, item);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
if (!menu_list[i].submenu) {
if (menu_list[i].fn)