aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index 34b7408..7bd4f6a 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2015,7 +2015,7 @@ indicator_datetime_service_get_localtime (IndicatorDatetimeService * self)
{
priv_t * p = self->priv;
- if (p->internal_timezone == NULL)
+ if (G_UNLIKELY (p->internal_timezone == NULL))
update_internal_timezone (self);
return g_date_time_new_now (p->internal_timezone);