[atk/ebassi/atk-2-38: 3/12] Drop volatile from the enumeration type registration




commit ac33caf00a12b70e1834b1b0e8f3c5186a2516ce
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]