summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-06-27 12:32:24 +0200
committerraveit65 <[email protected]>2022-07-20 00:13:37 +0200
commit5cb1198a4f75f2900edd19e12660336386b5fd4a (patch)
tree068facba8ceaa159de4d5d433044b51bd9c5aa6b /src
parentdc6fe11e23657db015497a565a1cffcdc3550dc2 (diff)
downloadcaja-5cb1198a4f75f2900edd19e12660336386b5fd4a.tar.bz2
caja-5cb1198a4f75f2900edd19e12660336386b5fd4a.tar.xz
caja-spartial-window: suppress GtkAction warnings
Diffstat (limited to 'src')
-rw-r--r--src/caja-spatial-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-spatial-window.c b/src/caja-spatial-window.c
index 12abd4f3..c4c04983 100644
--- a/src/caja-spatial-window.c
+++ b/src/caja-spatial-window.c
@@ -460,9 +460,11 @@ real_set_allow_up (CajaWindow *window, gboolean allow)
spatial = CAJA_SPATIAL_WINDOW (window);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action = gtk_action_group_get_action (spatial->details->spatial_action_group,
SPATIAL_ACTION_CLOSE_PARENT_FOLDERS);
gtk_action_set_sensitive (action, allow);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
CAJA_WINDOW_CLASS (caja_spatial_window_parent_class)->set_allow_up (window, allow);
}
@@ -1059,12 +1061,14 @@ caja_spatial_window_init (CajaSpatialWindow *window)
gtk_box_reorder_child (GTK_BOX (CAJA_WINDOW (window)->details->statusbar),
window->details->location_button, 0);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action_group = gtk_action_group_new ("SpatialActions");
gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);
window->details->spatial_action_group = action_group;
gtk_action_group_add_actions (action_group,
spatial_entries, G_N_ELEMENTS (spatial_entries),
window);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
ui_manager = caja_window_get_ui_manager (CAJA_WINDOW (window));
gtk_ui_manager_insert_action_group (ui_manager, action_group, 0);