summaryrefslogtreecommitdiff
path: root/src/caja-window-manage-views.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-window-manage-views.c')
-rw-r--r--src/caja-window-manage-views.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-window-manage-views.c b/src/caja-window-manage-views.c
index 0c81d628..40cf9ae8 100644
--- a/src/caja-window-manage-views.c
+++ b/src/caja-window-manage-views.c
@@ -1045,12 +1045,14 @@ setup_new_spatial_window (CajaWindowSlot *slot, CajaFile *file)
window->details->show_hidden_files_mode = CAJA_WINDOW_SHOW_HIDDEN_FILES_DISABLE;
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
/* Update the UI, since we initialize it to the default */
action = gtk_action_group_get_action (window->details->main_action_group, CAJA_ACTION_SHOW_HIDDEN_FILES);
gtk_action_block_activate (action);
gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action),
window->details->show_hidden_files_mode == CAJA_WINDOW_SHOW_HIDDEN_FILES_ENABLE);
gtk_action_unblock_activate (action);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
else
{