summaryrefslogtreecommitdiff
path: root/src/caja-navigation-window-menus.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-03-31 23:42:32 +0200
committerPablo Barciela <[email protected]>2018-03-31 23:47:02 +0200
commit9b6b0dc52df28e3847689cae70c63aad06b9ef98 (patch)
tree4b34409c6980491d87eb8b9403d9962ca642da2a /src/caja-navigation-window-menus.c
parent72968ab9ab0896f245c6bd1205f10e47e00da08a (diff)
downloadcaja-9b6b0dc52df28e3847689cae70c63aad06b9ef98.tar.bz2
caja-9b6b0dc52df28e3847689cae70c63aad06b9ef98.tar.xz
caja-navigation-window-menus.c: drop unused variable
Fixes https://github.com/mate-desktop/caja/pull/965#issuecomment-377716724
Diffstat (limited to 'src/caja-navigation-window-menus.c')
-rw-r--r--src/caja-navigation-window-menus.c8
1 files changed, 0 insertions, 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;