summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-06-25 19:48:42 +0200
committerraveit65 <[email protected]>2019-06-29 16:24:57 +0200
commitc3940b0713fc18447d2d671e0d55b6d353f4cabf (patch)
tree9a34053fba3ce0d7b14d28151e15e36c6bc00a25 /src
parentc035258718821d310b517c31d12724f18b0544e8 (diff)
downloadcaja-c3940b0713fc18447d2d671e0d55b6d353f4cabf.tar.bz2
caja-c3940b0713fc18447d2d671e0d55b6d353f4cabf.tar.xz
window-manage-views: suppress GtkAction warnings
Diffstat (limited to 'src')
-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
{