summaryrefslogtreecommitdiff
path: root/src/caja-spatial-window.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-03-05 02:14:49 +0100
committerZenWalker <[email protected]>2019-03-07 00:00:20 +0100
commitfc9a637006bab37dbb73c678983032111831a623 (patch)
treecd6e7ccb63135b737b244a89f0589603e3aecf1c /src/caja-spatial-window.c
parentee16c212d5ce11f6d782f86bb62302356b163462 (diff)
downloadcaja-fc9a637006bab37dbb73c678983032111831a623.tar.bz2
caja-fc9a637006bab37dbb73c678983032111831a623.tar.xz
avoid variables set but not used
Diffstat (limited to 'src/caja-spatial-window.c')
-rw-r--r--src/caja-spatial-window.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/caja-spatial-window.c b/src/caja-spatial-window.c
index ec088035..1013eb75 100644
--- a/src/caja-spatial-window.c
+++ b/src/caja-spatial-window.c
@@ -963,15 +963,6 @@ static const GtkActionEntry spatial_entries[] =
},
};
-static const char* icon_entries[] =
-{
- "/MenuBar/Other Menus/Places/Home",
- "/MenuBar/Other Menus/Places/Go to Computer",
- "/MenuBar/Other Menus/Places/Go to Templates",
- "/MenuBar/Other Menus/Places/Go to Trash",
- "/MenuBar/Other Menus/Places/Go to Network"
-};
-
static void
caja_spatial_window_init (CajaSpatialWindow *window)
{
@@ -982,7 +973,6 @@ caja_spatial_window_init (CajaSpatialWindow *window)
GtkTargetList *targets;
const char *ui;
int i;
- GtkWidget *menuitem;
CajaWindow *win;
CajaWindowPane *pane;
@@ -1080,10 +1070,6 @@ caja_spatial_window_init (CajaSpatialWindow *window)
ui = caja_ui_string_get ("caja-spatial-window-ui.xml");
gtk_ui_manager_add_ui_from_string (ui_manager, ui, -1, NULL);
- for (i = 0; i < G_N_ELEMENTS (icon_entries); i++)
- {
- menuitem = gtk_ui_manager_get_widget (ui_manager, icon_entries[i]);
- }
caja_window_set_active_pane (win, pane);
}