[atk/ebassi/atk-2-38: 1/5] Drop volatile from the enumeration type registration
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk/ebassi/atk-2-38: 1/5] Drop volatile from the enumeration type registration
- Date: Thu, 24 Mar 2022 11:48:52 +0000 (UTC)
commit b65e43ed6c23dcef579cb0334fc21261c54d8aed
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Mar 24 11:20:43 2022 +0000
Drop volatile from the enumeration type registration
It's been removed by recent GLib versions, and we're getting compiler
warnings. It also has never been appropriate to use `volatile`.
atk/atk-enum-types.c.template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/atk/atk-enum-types.c.template b/atk/atk-enum-types.c.template
index b3c0b13..dc2cae9 100644
--- a/atk/atk-enum-types.c.template
+++ b/atk/atk-enum-types.c.template
@@ -15,7 +15,7 @@
GType
@enum_name@_get_type (void)
{
- static volatile gsize g_define_type_id__volatile;
+ static gsize g_define_type_id__volatile;
if (g_once_init_enter (&g_define_type_id__volatile))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]