summaryrefslogtreecommitdiff
path: root/shell/ev-open-recent-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-open-recent-action.c')
-rw-r--r--shell/ev-open-recent-action.c4
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;