diff options
author | raveit65 <[email protected]> | 2019-06-27 14:26:47 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-29 16:24:57 +0200 |
commit | ad67fbbf8d747845089c24e3500bb8e03acd5adf (patch) | |
tree | 199e73435b5a1f1a1dd5d6e9b3772c01dcd6e427 /src | |
parent | d71b863a3727a8cb4e4d425f8cbf82c328c9a3cc (diff) | |
download | caja-ad67fbbf8d747845089c24e3500bb8e03acd5adf.tar.bz2 caja-ad67fbbf8d747845089c24e3500bb8e03acd5adf.tar.xz |
caja-zoom-action: suppress GtkAction warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-zoom-action.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/caja-zoom-action.c b/src/caja-zoom-action.c index 99c29860..6f6c7119 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; |