summaryrefslogtreecommitdiff
path: root/libmateweather/mateweather-timezone.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmateweather/mateweather-timezone.c')
-rw-r--r--libmateweather/mateweather-timezone.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmateweather/mateweather-timezone.c b/libmateweather/mateweather-timezone.c
index a87c011..2754728 100644
--- a/libmateweather/mateweather-timezone.c
+++ b/libmateweather/mateweather-timezone.c
@@ -285,16 +285,16 @@ mateweather_timezone_unref (MateWeatherTimezone *zone)
GType
mateweather_timezone_get_type (void)
{
- static volatile gsize type_volatile = 0;
+ static gsize initialization_value = 0;
- if (g_once_init_enter (&type_volatile)) {
+ if (g_once_init_enter (&initialization_value)) {
GType type = g_boxed_type_register_static (
g_intern_static_string ("MateWeatherTimezone"),
(GBoxedCopyFunc) mateweather_timezone_ref,
(GBoxedFreeFunc) mateweather_timezone_unref);
- g_once_init_leave (&type_volatile, type);
+ g_once_init_leave (&initialization_value, type);
}
- return type_volatile;
+ return initialization_value;
}
/**