aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-popup-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-popup-menu.c')
-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)