aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/datetime-prefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index d80a59f..952dce1 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -308,7 +308,7 @@ proxy_ready (GObject *object, GAsyncResult *res, IndicatorDatetimePanel * self)
g_dbus_proxy_call (priv->proxy, "GetUsingNtp", NULL, G_DBUS_CALL_FLAGS_NONE, -1,
priv->ntp_query_cancel, (GAsyncReadyCallback)ntp_query_answered, self);
}
- if (priv->tz_query_cancel == NULL); {
+ if (priv->tz_query_cancel == NULL) {
priv->tz_query_cancel = g_cancellable_new();
g_dbus_proxy_call (priv->proxy, "GetTimezone", NULL, G_DBUS_CALL_FLAGS_NONE, -1,
priv->tz_query_cancel, (GAsyncReadyCallback)tz_query_answered, self);