summaryrefslogtreecommitdiff
path: root/tests/chainup/class-object.c-expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chainup/class-object.c-expected')
-rw-r--r--tests/chainup/class-object.c-expected8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/chainup/class-object.c-expected b/tests/chainup/class-object.c-expected
index 64cc773cf..9d95ec4c6 100644
--- a/tests/chainup/class-object.c-expected
+++ b/tests/chainup/class-object.c-expected
@@ -104,13 +104,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