diff options
author | raveit65 <[email protected]> | 2018-06-25 17:20:35 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-07-08 12:29:16 +0200 |
commit | bcc8082add8dd70e05d9b0d8494ba6c579dfd921 (patch) | |
tree | 30dba9201fe5170e3c67aaeb01585a286337385b | |
parent | a46238b6dea2d12e0d12c33e51a606f82d5f305e (diff) | |
download | eom-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.
-rw-r--r-- | src/eom-sidebar.c | 2 |
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), |