summaryrefslogtreecommitdiff
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2023-09-30 14:18:51 +0800
committerraveit65 <[email protected]>2023-10-01 10:33:25 +0200
commitba0d50e323f888f9b68f355ba22518179283b93f (patch)
tree186d9ba7987c42550c534a9e9bbba2ad36a2fcc5 /shell/ev-window.c
parent9da7a436ba68fc3eeff0d2b1af16c96e5b8fbc8c (diff)
downloadatril-ba0d50e323f888f9b68f355ba22518179283b93f.tar.bz2
atril-ba0d50e323f888f9b68f355ba22518179283b93f.tar.xz
Remove compilation warnings and set 'always_show_image' Properties in the UI file
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index f1fe7616..9f9576f6 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -7804,7 +7804,6 @@ ev_window_init (EvWindow *ev_window)
GtkCssProvider *css_provider;
GError *error = NULL;
GtkWidget *sidebar_widget;
- GtkWidget *menuitem;
GtkWidget *overlay;
GObject *mpkeys;
guint page_cache_mb;
@@ -7940,12 +7939,6 @@ ev_window_init (EvWindow *ev_window)
gtk_box_pack_start (GTK_BOX (ev_window->priv->main_box),
ev_window->priv->menubar,
FALSE, FALSE, 0);
- menuitem = gtk_ui_manager_get_widget (ev_window->priv->ui_manager,
- "/MainMenu/EditMenu/EditRotateLeftMenu");
- gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (menuitem), TRUE);
- menuitem = gtk_ui_manager_get_widget (ev_window->priv->ui_manager,
- "/MainMenu/EditMenu/EditRotateRightMenu");
- gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (menuitem), TRUE);
ev_window->priv->toolbars_model = get_toolbars_model ();
ev_window->priv->toolbar = GTK_WIDGET