aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-15 09:29:49 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-10-15 09:29:49 -0500
commit3097e2675ece317bc06ae12439e821be774a4ead (patch)
tree72946185e3746f9276efba1922005ecbb84b6b5a
parent7095c0ea670693393cafd8a4d3c295a32855d54e (diff)
downloadayatana-indicator-datetime-3097e2675ece317bc06ae12439e821be774a4ead.tar.gz
ayatana-indicator-datetime-3097e2675ece317bc06ae12439e821be774a4ead.tar.bz2
ayatana-indicator-datetime-3097e2675ece317bc06ae12439e821be774a4ead.zip
random fiddling: add G_UNLIKELY to the internal_timezone test
-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);