summaryrefslogtreecommitdiff
path: root/shell/ev-sidebar-bookmarks.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-07-29 11:42:23 +0200
committerraveit65 <[email protected]>2019-07-31 15:26:47 +0200
commiteb97c27e50aa6edcb334a97d83851be9d0636d5d (patch)
tree829ef214b7a991fc7434fbcb177385bca4518c6c /shell/ev-sidebar-bookmarks.c
parent954e9751cafac90950f99025f90c4c114e19ab62 (diff)
downloadatril-eb97c27e50aa6edcb334a97d83851be9d0636d5d.tar.bz2
atril-eb97c27e50aa6edcb334a97d83851be9d0636d5d.tar.xz
sidebar-bookmarks: suppress GtkAction warnings
Diffstat (limited to 'shell/ev-sidebar-bookmarks.c')
-rw-r--r--shell/ev-sidebar-bookmarks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-sidebar-bookmarks.c b/shell/ev-sidebar-bookmarks.c
index 5b227580..1d15a8cb 100644
--- a/shell/ev-sidebar-bookmarks.c
+++ b/shell/ev-sidebar-bookmarks.c
@@ -493,11 +493,13 @@ ev_sidebar_bookmarks_init (EvSidebarBookmarks *sidebar_bookmarks)
gtk_widget_show (GTK_WIDGET (sidebar_bookmarks));
/* Popup menu */
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
priv->action_group = gtk_action_group_new ("BookmarsPopupActions");
gtk_action_group_set_translation_domain (priv->action_group, NULL);
gtk_action_group_add_actions (priv->action_group, popup_entries,
G_N_ELEMENTS (popup_entries),
sidebar_bookmarks);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
priv->ui_manager = gtk_ui_manager_new ();
gtk_ui_manager_insert_action_group (priv->ui_manager,
priv->action_group, 0);