summaryrefslogtreecommitdiff
path: root/tests/genie/enum.c-expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/genie/enum.c-expected')
-rw-r--r--tests/genie/enum.c-expected8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/genie/enum.c-expected b/tests/genie/enum.c-expected
index 6f946842e..4e82a099d 100644
--- a/tests/genie/enum.c-expected
+++ b/tests/genie/enum.c-expected
@@ -59,12 +59,12 @@ test_get_type_once (void)
GType
test_get_type (void)
{
- static volatile gsize test_type_id__volatile = 0;
- if (g_once_init_enter (&test_type_id__volatile)) {
+ static volatile gsize test_type_id__once = 0;
+ if (g_once_init_enter (&test_type_id__once)) {
GType test_type_id;
test_type_id = test_get_type_once ();
- g_once_init_leave (&test_type_id__volatile, test_type_id);
+ g_once_init_leave (&test_type_id__once, test_type_id);
}
- return test_type_id__volatile;
+ return test_type_id__once;
}