summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-06-25 19:32:36 +0200
committerraveit65 <[email protected]>2019-06-29 16:24:57 +0200
commitb9bf3dd4e78ef98d134d09708c4ff582903aa822 (patch)
tree0bc1e8a8f870649484bd90a1b97d4f00f0e69cad /src
parent5317ba4eb1a8212b740a1544cf43101c7384eede (diff)
downloadcaja-b9bf3dd4e78ef98d134d09708c4ff582903aa822.tar.bz2
caja-b9bf3dd4e78ef98d134d09708c4ff582903aa822.tar.xz
view-as-action: suppress GtkAction warnings
Diffstat (limited to 'src')
-rw-r--r--src/caja-view-as-action.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/caja-view-as-action.c b/src/caja-view-as-action.c
index 2cfe6455..115dfedd 100644
--- a/src/caja-view-as-action.c
+++ b/src/caja-view-as-action.c
@@ -46,7 +46,9 @@ struct _CajaViewAsActionPrivate
CajaNavigationWindow *window;
};
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
G_DEFINE_TYPE_WITH_PRIVATE (CajaViewAsAction, caja_view_as_action, GTK_TYPE_ACTION)
+G_GNUC_END_IGNORE_DEPRECATIONS;
enum
{
@@ -192,7 +194,9 @@ connect_proxy (GtkAction *action,
view_as_combo_box);
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
(* GTK_ACTION_CLASS (parent_class)->connect_proxy) (action, proxy);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static void
@@ -209,7 +213,9 @@ disconnect_proxy (GtkAction *action,
0, 0, NULL, G_CALLBACK (view_as_changed_callback), NULL);
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
(* GTK_ACTION_CLASS (parent_class)->disconnect_proxy) (action, proxy);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static void
@@ -258,7 +264,9 @@ static void
caja_view_as_action_class_init (CajaViewAsActionClass *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 = caja_view_as_action_finalize;
object_class->set_property = caja_view_as_action_set_property;