summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-06-27 14:26:47 +0200
committerraveit65 <[email protected]>2022-07-20 00:14:26 +0200
commit5d171e4f43822a1662550703f9b42725c24cbeb9 (patch)
tree7c871c88d17399fecd485e534a0923bfc95d2fe8 /src
parent638fd0531b2da108af9e40ef69d23c8e9334bf3d (diff)
downloadcaja-5d171e4f43822a1662550703f9b42725c24cbeb9.tar.bz2
caja-5d171e4f43822a1662550703f9b42725c24cbeb9.tar.xz
caja-zoom-action: suppress GtkAction warnings
Diffstat (limited to 'src')
-rw-r--r--src/caja-zoom-action.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/caja-zoom-action.c b/src/caja-zoom-action.c
index e8d60e17..7817581e 100644
--- a/src/caja-zoom-action.c
+++ b/src/caja-zoom-action.c
@@ -51,7 +51,9 @@ enum
PROP_WINDOW
};
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
G_DEFINE_TYPE_WITH_PRIVATE (CajaZoomAction, caja_zoom_action, GTK_TYPE_ACTION)
+G_GNUC_END_IGNORE_DEPRECATIONS;
static void
zoom_changed_callback (CajaWindow *window,
@@ -111,7 +113,9 @@ connect_proxy (GtkAction *action,
zoom_control);
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
(* GTK_ACTION_CLASS (parent_class)->connect_proxy) (action, proxy);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static void
@@ -131,7 +135,9 @@ disconnect_proxy (GtkAction *action,
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
(* GTK_ACTION_CLASS (parent_class)->disconnect_proxy) (action, proxy);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static void
@@ -180,7 +186,9 @@ static void
caja_zoom_action_class_init (CajaZoomActionClass *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_zoom_action_finalize;
object_class->set_property = caja_zoom_action_set_property;