summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-07-21 15:51:59 +0200
committerraveit65 <[email protected]>2019-07-31 15:26:47 +0200
commit14f943aca46c11f662b51e270ba8fb656b71af61 (patch)
tree3d0855ab2aed8b55161e9d04cff79bef783d8c56
parent97f0b3b5d9c920ca67dd8d277324459500fc4020 (diff)
downloadatril-14f943aca46c11f662b51e270ba8fb656b71af61.tar.bz2
atril-14f943aca46c11f662b51e270ba8fb656b71af61.tar.xz
ev-page-action: suppress GtkAction warnings
-rw-r--r--libmisc/ev-page-action.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libmisc/ev-page-action.c b/libmisc/ev-page-action.c
index ff1f9fee..958a17ea 100644
--- a/libmisc/ev-page-action.c
+++ b/libmisc/ev-page-action.c
@@ -49,7 +49,9 @@ enum
static guint signals[N_SIGNALS] = {0, };
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
G_DEFINE_TYPE (EvPageAction, ev_page_action, GTK_TYPE_ACTION)
+G_GNUC_END_IGNORE_DEPRECATIONS;
#define EV_PAGE_ACTION_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_PAGE_ACTION, EvPageActionPrivate))
@@ -96,7 +98,9 @@ connect_proxy (GtkAction *action, GtkWidget *proxy)
proxy, 0);
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
GTK_ACTION_CLASS (ev_page_action_parent_class)->connect_proxy (action, proxy);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static void
@@ -187,7 +191,9 @@ ev_page_action_grab_focus (EvPageAction *page_action)
{
GSList *proxies;
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
proxies = gtk_action_get_proxies (GTK_ACTION (page_action));
+ G_GNUC_END_IGNORE_DEPRECATIONS;
for (; proxies != NULL; proxies = proxies->next) {
EvPageActionWidget *proxy;
@@ -208,7 +214,9 @@ static void
ev_page_action_class_init (EvPageActionClass *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->dispose = ev_page_action_dispose;
object_class->set_property = ev_page_action_set_property;