[perl-glib/ebassi/warnings: 6/6] Ignore warnings for g_option_group_free()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-glib/ebassi/warnings: 6/6] Ignore warnings for g_option_group_free()
- Date: Wed, 20 May 2020 13:28:06 +0000 (UTC)
commit 69b2b4c043da0b5e2d328125a8288fe38f3ecf8c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed May 20 14:26:02 2020 +0100
Ignore warnings for g_option_group_free()
We know it's deprecated, but we can keep using it.
GOption.xs | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/GOption.xs b/GOption.xs
index 1f1bf95..7997139 100644
--- a/GOption.xs
+++ b/GOption.xs
@@ -48,8 +48,10 @@ no_copy_for_you (gpointer boxed)
static void
gperl_option_group_free (GOptionGroup *group)
{
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (!g_hash_table_lookup (transferred_groups, group))
g_option_group_free (group);
+ G_GNUC_END_IGNORE_DEPRECATIONS
}
GType
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]