Skip to content


Browse files Browse the repository at this point in the history
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 Jul 8, 2018
1 parent a46238b commit bcc8082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eom-sidebar.c
Expand Up @@ -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),
Expand Down

0 comments on commit bcc8082

Please sign in to comment.