summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-06-27 12:32:24 +0200
committerraveit65 <[email protected]>2019-06-29 16:24:57 +0200
commit9bdf5ca497e7972ef64b08565b3992f8e3d3ff0c (patch)
treecde2655b4df1b8a7cdac0441037f9029ea5ee224 /src
parent4d3041ae490619b0095918d41b8f021a2c5c2f13 (diff)
downloadcaja-9bdf5ca497e7972ef64b08565b3992f8e3d3ff0c.tar.bz2
caja-9bdf5ca497e7972ef64b08565b3992f8e3d3ff0c.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 ef04fc04..f222b8e2 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);