summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-navigation-action.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/ev-navigation-action.c b/shell/ev-navigation-action.c
index 45e744ee..e01ff566 100644
--- a/shell/ev-navigation-action.c
+++ b/shell/ev-navigation-action.c
@@ -43,7 +43,9 @@ struct _EvNavigationActionPrivate
static void ev_navigation_action_init (EvNavigationAction *action);
static void ev_navigation_action_class_init (EvNavigationActionClass *class);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
G_DEFINE_TYPE (EvNavigationAction, ev_navigation_action, GTK_TYPE_ACTION)
+G_GNUC_END_IGNORE_DEPRECATIONS;
#define MAX_LABEL_LENGTH 48
@@ -55,8 +57,10 @@ ev_navigation_action_history_changed (EvHistory *history,
{
EvNavigationAction *action = EV_NAVIGATION_ACTION (data);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
gtk_action_set_sensitive (GTK_ACTION (action),
ev_history_get_n_links (history) > 0);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
void
@@ -170,7 +174,9 @@ connect_proxy (GtkAction *action, GtkWidget *proxy)
G_CALLBACK (menu_activated_cb), action);
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
GTK_ACTION_CLASS (ev_navigation_action_parent_class)->connect_proxy (action, proxy);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static GtkWidget *
@@ -192,7 +198,9 @@ create_menu_item (GtkAction *action)
menu = build_menu (EV_NAVIGATION_ACTION (action));
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
menu_item = GTK_ACTION_CLASS (ev_navigation_action_parent_class)->create_menu_item (action);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item), menu);
@@ -225,7 +233,9 @@ static void
ev_navigation_action_class_init (EvNavigationActionClass *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;
object_class->finalize = ev_navigation_action_finalize;