Skip to content

Commit bcc8082

Browse files
author
raveit65
committed
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.
1 parent a46238b commit bcc8082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eom-sidebar.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ eom_sidebar_add_page (EomSidebar *eom_sidebar,
466466
index = gtk_notebook_append_page (GTK_NOTEBOOK (eom_sidebar->priv->notebook),
467467
main_widget, NULL);
468468

469-
menu_item = gtk_image_menu_item_new_with_label (title);
469+
menu_item = gtk_menu_item_new_with_label (title);
470470

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

0 commit comments

Comments
 (0)