aboutsummaryrefslogtreecommitdiff
path: root/src/location-geoclue.c
diff options
context:
space:
mode:
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);