From 88698ec92ad1747d0591144fa9227f6b10f19215 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Fri, 7 Feb 2003 09:53:11 +0000 Subject: replaced deprecated calls (gtk_menu_append -> gtk_menu_shell_append and 2003-02-07 Radek Doulik * 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 --- widgets/misc/e-popup-menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets') 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) -- cgit