{
static volatile gsize type_volatile = 0;
if (g_once_init_enter(&type_volatile)) {
- GType type = g_boxed_type_register_static(
- g_intern_static_string("LocationAccuracy"),
- (GBoxedCopyFunc) location_accuracy_copy,
- (GBoxedFreeFunc) location_accuracy_free);
+ GType type = g_boxed_type_register_static(g_intern_static_string("LocationAccuracy"),
+ (GBoxedCopyFunc) location_accuracy_copy, (GBoxedFreeFunc) location_accuracy_free);
+
g_once_init_leave(&type_volatile, type);
}
return type_volatile;