summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-06-25 19:48:42 +0200
committerraveit65 <[email protected]>2022-07-20 00:13:12 +0200
commita6bea2e4bc3c0e7389d0ddd9260937418ad77cb4 (patch)
treeed8b9667506b5257e5add73b14fb834aa9b928b7
parent302f39509da0a44bf56b30152ee0c2ceab533650 (diff)
downloadcaja-a6bea2e4bc3c0e7389d0ddd9260937418ad77cb4.tar.bz2
caja-a6bea2e4bc3c0e7389d0ddd9260937418ad77cb4.tar.xz
window-manage-views: suppress GtkAction warnings
-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 4e17d178..9599eea7 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
{