From 8981e4e7d3f73a51a0530d4d594c75e36adc62bc Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 21 Jul 2019 16:27:37 +0200 Subject: ev-open-recent-action: suppress GtkAction warnings --- shell/ev-open-recent-action.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/ev-open-recent-action.c b/shell/ev-open-recent-action.c index d7815d2a..c4b2c8fe 100644 --- a/shell/ev-open-recent-action.c +++ b/shell/ev-open-recent-action.c @@ -35,7 +35,9 @@ static void ev_open_recent_action_class_init (EvOpenRecentActionClass *class); static guint action_signals[N_SIGNALS] = { 0 }; +G_GNUC_BEGIN_IGNORE_DEPRECATIONS; G_DEFINE_TYPE (EvOpenRecentAction, ev_open_recent_action, GTK_TYPE_ACTION) +G_GNUC_END_IGNORE_DEPRECATIONS; static void recent_chooser_item_activated (GtkRecentChooser *chooser, @@ -84,7 +86,9 @@ static void ev_open_recent_action_class_init (EvOpenRecentActionClass *class) { GObjectClass *object_class = G_OBJECT_CLASS (class); + G_GNUC_BEGIN_IGNORE_DEPRECATIONS; GtkActionClass *action_class = GTK_ACTION_CLASS (class); + G_GNUC_END_IGNORE_DEPRECATIONS; action_class->toolbar_item_type = GTK_TYPE_MENU_TOOL_BUTTON; action_class->create_tool_item = ev_open_recent_action_create_tool_item; -- cgit v1.2.1