aboutsummaryrefslogtreecommitdiff
path: root/src/location-geoclue.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-05-06 13:51:27 -0700
committerCharles Kerr <charles.kerr@canonical.com>2013-05-06 13:51:27 -0700
commitcc92756aaa57060539f57ce92d41ded0966b92d1 (patch)
tree34552c222f1caa7cd9484f36057bc4a82a3385b5 /src/location-geoclue.c
parentc6db70370a10da3ac86dd5fc979aad214b8e246b (diff)
downloadayatana-indicator-datetime-cc92756aaa57060539f57ce92d41ded0966b92d1.tar.gz
ayatana-indicator-datetime-cc92756aaa57060539f57ce92d41ded0966b92d1.tar.bz2
ayatana-indicator-datetime-cc92756aaa57060539f57ce92d41ded0966b92d1.zip
readability changes suggested by lars
Diffstat (limited to 'src/location-geoclue.c')
-rw-r--r--src/location-geoclue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location-geoclue.c b/src/location-geoclue.c
index 2e57f39..87358fb 100644
--- a/src/location-geoclue.c
+++ b/src/location-geoclue.c
@@ -52,7 +52,7 @@ set_timezone (IndicatorDatetimeLocationGeoclue * self, const gchar * timezone)
{
priv_t * p = self->priv;
- if (p->timezone != timezone)
+ if (g_strcmp0 (p->timezone, timezone))
{
g_free (p->timezone);
p->timezone = g_strdup (timezone);