summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-06-25 18:47:52 +0200
committerraveit65 <[email protected]>2022-07-20 00:11:46 +0200
commitc1982c95d1a37b34e25f0949f5db856d4817e6c6 (patch)
tree68793907ff4a941cb9537ad73a7b7efaaa80f40f
parentcf137f69de0587111230a9498f39cafe403522da (diff)
downloadcaja-c1982c95d1a37b34e25f0949f5db856d4817e6c6.tar.bz2
caja-c1982c95d1a37b34e25f0949f5db856d4817e6c6.tar.xz
caja-navigation-action: suppress GtkAction warnings
-rw-r--r--src/caja-navigation-action.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/caja-navigation-action.c b/src/caja-navigation-action.c
index 971afe29..31cef59f 100644
--- a/src/caja-navigation-action.c
+++ b/src/caja-navigation-action.c
@@ -56,7 +56,9 @@ enum
PROP_WINDOW
};
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
G_DEFINE_TYPE_WITH_PRIVATE (CajaNavigationAction, caja_navigation_action, GTK_TYPE_ACTION)
+G_GNUC_END_IGNORE_DEPRECATIONS;
static gboolean
should_open_in_new_tab (void)
@@ -251,7 +253,9 @@ connect_proxy (GtkAction *action, GtkWidget *proxy)
g_signal_connect (child, "button-release-event", G_CALLBACK (proxy_button_release_event_cb), NULL);
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
(* GTK_ACTION_CLASS (caja_navigation_action_parent_class)->connect_proxy) (action, proxy);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static void
@@ -268,7 +272,9 @@ disconnect_proxy (GtkAction *action, GtkWidget *proxy)
g_signal_handlers_disconnect_by_func (child, G_CALLBACK (proxy_button_release_event_cb), NULL);
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
(* GTK_ACTION_CLASS (caja_navigation_action_parent_class)->disconnect_proxy) (action, proxy);
+ G_GNUC_END_IGNORE_DEPRECATIONS;
}
static void
@@ -334,7 +340,9 @@ static void
caja_navigation_action_class_init (CajaNavigationActionClass *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_navigation_action_finalize;
object_class->set_property = caja_navigation_action_set_property;