Skip to content
Permalink
Browse files

sidebar: fix a deprecation

don't use gtk_image_menu_item_new_with_label

There isn't any menuitem with an icon in the sidebar.
So this can be replaced.
  • Loading branch information...
raveit65 committed Jun 25, 2018
1 parent a46238b commit bcc8082add8dd70e05d9b0d8494ba6c579dfd921
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/eom-sidebar.c
@@ -466,7 +466,7 @@ eom_sidebar_add_page (EomSidebar *eom_sidebar,
index = gtk_notebook_append_page (GTK_NOTEBOOK (eom_sidebar->priv->notebook),
main_widget, NULL);

menu_item = gtk_image_menu_item_new_with_label (title);
menu_item = gtk_menu_item_new_with_label (title);

g_signal_connect (menu_item, "activate",
G_CALLBACK (eom_sidebar_menu_item_activate_cb),

0 comments on commit bcc8082

Please sign in to comment.
You can’t perform that action at this time.