summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-06-25 19:32:36 +0200
committerraveit65 <[email protected]>2022-07-20 00:12:14 +0200
commit33023185dca0d3d0342d7deee439eaddea07fc3d (patch)
tree03c182d921481d4051351cc7c8b79b6919cb95f2
parent98f6467aff286f84cb0594bc919e8a582a6da737 (diff)
downloadcaja-33023185dca0d3d0342d7deee439eaddea07fc3d.tar.bz2
caja-33023185dca0d3d0342d7deee439eaddea07fc3d.tar.xz
view-as-action: suppress GtkAction warnings
-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 a38ebca2..9ecfdf4d 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;