summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;