diff options
Diffstat (limited to 'tests/structs/properties.c-expected')
-rw-r--r-- | tests/structs/properties.c-expected | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/structs/properties.c-expected b/tests/structs/properties.c-expected index 5826926d7..305ce0ca4 100644 --- a/tests/structs/properties.c-expected +++ b/tests/structs/properties.c-expected @@ -188,13 +188,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 |