summaryrefslogtreecommitdiff
path: root/src/eom-sidebar.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-06-25 17:20:35 +0200
committerraveit65 <[email protected]>2018-07-08 12:29:16 +0200
commitbcc8082add8dd70e05d9b0d8494ba6c579dfd921 (patch)
tree30dba9201fe5170e3c67aaeb01585a286337385b /src/eom-sidebar.c
parenta46238b6dea2d12e0d12c33e51a606f82d5f305e (diff)
downloadeom-bcc8082add8dd70e05d9b0d8494ba6c579dfd921.tar.bz2
eom-bcc8082add8dd70e05d9b0d8494ba6c579dfd921.tar.xz
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.
Diffstat (limited to 'src/eom-sidebar.c')
-rw-r--r--src/eom-sidebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-sidebar.c b/src/eom-sidebar.c
index 744029d..81a85c8 100644
--- a/src/eom-sidebar.c
+++ b/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),