summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-06-25 18:28:15 +0200
committerraveit65 <[email protected]>2019-06-29 16:24:57 +0200
commit07c28249486691d0ed4f3e3ddbe4cce3103cc1de (patch)
treeef7a3e03991f29c57a8bac1ad081d140c9ef7a0b
parent7ffc8263e1d8c3f01997426d3538de8ec88b9cbf (diff)
downloadcaja-07c28249486691d0ed4f3e3ddbe4cce3103cc1de.tar.bz2
caja-07c28249486691d0ed4f3e3ddbe4cce3103cc1de.tar.xz
fm-list-view: suppress GtkAction warnings
-rw-r--r--src/file-manager/fm-list-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index c5bb473a..bcbb0e93 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -2637,12 +2637,14 @@ fm_list_view_merge_menus (FMDirectoryView *view)
ui_manager = fm_directory_view_get_ui_manager (view);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action_group = gtk_action_group_new ("ListViewActions");
gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);
list_view->details->list_action_group = action_group;
gtk_action_group_add_actions (action_group,
list_view_entries, G_N_ELEMENTS (list_view_entries),
list_view);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
gtk_ui_manager_insert_action_group (ui_manager, action_group, 0);
g_object_unref (action_group); /* owned by ui manager */