diff options
author | zhuyaliang <[email protected]> | 2023-09-30 14:18:51 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-10-01 10:33:25 +0200 |
commit | ba0d50e323f888f9b68f355ba22518179283b93f (patch) | |
tree | 186d9ba7987c42550c534a9e9bbba2ad36a2fcc5 /shell/ev-window.c | |
parent | 9da7a436ba68fc3eeff0d2b1af16c96e5b8fbc8c (diff) | |
download | atril-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.c | 7 |
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 |