diff options
author | raveit65 <[email protected]> | 2019-07-21 16:27:37 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-07-31 15:26:47 +0200 |
commit | 8981e4e7d3f73a51a0530d4d594c75e36adc62bc (patch) | |
tree | 2741ba98e4315270011d75d99c52b73c05b200b2 /shell/ev-open-recent-action.c | |
parent | e3a744bfa8ed4217077d5f7877b1f867c0b57f81 (diff) | |
download | atril-8981e4e7d3f73a51a0530d4d594c75e36adc62bc.tar.bz2 atril-8981e4e7d3f73a51a0530d4d594c75e36adc62bc.tar.xz |
ev-open-recent-action: suppress GtkAction warnings
Diffstat (limited to 'shell/ev-open-recent-action.c')
-rw-r--r-- | shell/ev-open-recent-action.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |