diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-10-15 09:29:49 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-10-15 09:29:49 -0500 |
commit | 3097e2675ece317bc06ae12439e821be774a4ead (patch) | |
tree | 72946185e3746f9276efba1922005ecbb84b6b5a /src | |
parent | 7095c0ea670693393cafd8a4d3c295a32855d54e (diff) | |
download | ayatana-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
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 2 |
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); |