diff options
Diffstat (limited to 'tests/objects/interface-base-access.c-expected')
-rw-r--r-- | tests/objects/interface-base-access.c-expected | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/objects/interface-base-access.c-expected b/tests/objects/interface-base-access.c-expected index aef85f1b9..185c70f2d 100644 --- a/tests/objects/interface-base-access.c-expected +++ b/tests/objects/interface-base-access.c-expected @@ -145,13 +145,13 @@ ifoo_get_type_once (void) GType ifoo_get_type (void) { - static volatile gsize ifoo_type_id__volatile = 0; - if (g_once_init_enter (&ifoo_type_id__volatile)) { + static volatile gsize ifoo_type_id__once = 0; + if (g_once_init_enter (&ifoo_type_id__once)) { GType ifoo_type_id; ifoo_type_id = ifoo_get_type_once (); - g_once_init_leave (&ifoo_type_id__volatile, ifoo_type_id); + g_once_init_leave (&ifoo_type_id__once, ifoo_type_id); } - return ifoo_type_id__volatile; + return ifoo_type_id__once; } static void @@ -356,13 +356,13 @@ bar_get_type_once (void) GType bar_get_type (void) { - static volatile gsize bar_type_id__volatile = 0; - if (g_once_init_enter (&bar_type_id__volatile)) { + static volatile gsize bar_type_id__once = 0; + if (g_once_init_enter (&bar_type_id__once)) { GType bar_type_id; bar_type_id = bar_get_type_once (); - g_once_init_leave (&bar_type_id__volatile, bar_type_id); + g_once_init_leave (&bar_type_id__once, bar_type_id); } - return bar_type_id__volatile; + return bar_type_id__once; } gpointer @@ -431,13 +431,13 @@ foo_get_type_once (void) GType foo_get_type (void) { - static volatile gsize foo_type_id__volatile = 0; - if (g_once_init_enter (&foo_type_id__volatile)) { + static volatile gsize foo_type_id__once = 0; + if (g_once_init_enter (&foo_type_id__once)) { GType foo_type_id; foo_type_id = foo_get_type_once (); - g_once_init_leave (&foo_type_id__volatile, foo_type_id); + g_once_init_leave (&foo_type_id__once, foo_type_id); } - return foo_type_id__volatile; + return foo_type_id__once; } static void |