From 9b6b0dc52df28e3847689cae70c63aad06b9ef98 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 31 Mar 2018 23:42:32 +0200 Subject: caja-navigation-window-menus.c: drop unused variable Fixes https://github.com/mate-desktop/caja/pull/965#issuecomment-377716724 --- src/caja-navigation-window-menus.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/caja-navigation-window-menus.c b/src/caja-navigation-window-menus.c index d6ff3b7e..d2cc2bac 100644 --- a/src/caja-navigation-window-menus.c +++ b/src/caja-navigation-window-menus.c @@ -455,7 +455,6 @@ refresh_go_menu (CajaNavigationWindow *window) { GtkUIManager *ui_manager; GList *node; - GtkWidget *menuitem; int index; int i; @@ -479,13 +478,6 @@ refresh_go_menu (CajaNavigationWindow *window) -1); g_object_unref (window->details->go_menu_action_group); - for (i = 0; i < G_N_ELEMENTS (icon_entries); i++) - { - menuitem = gtk_ui_manager_get_widget ( - ui_manager, - icon_entries[i]); - } - /* Add in a new set of history items. */ for (node = caja_get_history_list (), index = 0; node != NULL && index < 10; -- cgit v1.2.1