aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clock-live.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/clock-live.c b/src/clock-live.c
index f2859e6..2a375fd 100644
--- a/src/clock-live.c
+++ b/src/clock-live.c
@@ -259,9 +259,8 @@ indicator_datetime_clock_live_init (IndicatorDatetimeClockLive * self)
self->priv = p;
p->settings = g_settings_new (SETTINGS_INTERFACE);
- g_signal_connect (p->settings, "changed::" SETTINGS_SHOW_DETECTED_S,
- G_CALLBACK(on_detect_location_changed), self);
-
+ g_signal_connect_swapped (p->settings, "changed::" SETTINGS_SHOW_DETECTED_S,
+ G_CALLBACK(on_detect_location_changed), self);
on_detect_location_changed (self);
}