diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-11-14 16:52:32 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-11-14 16:52:32 -0600 |
commit | 2b3520c35c6e8a0db0217b0d8b02fe9098d8f7d3 (patch) | |
tree | 57494f244c952e3357ae02bdf679e7447fbaaac5 /src | |
parent | 4c4adbcbf17733c47d23f0eec578c0574ef64efa (diff) | |
download | ayatana-indicator-datetime-2b3520c35c6e8a0db0217b0d8b02fe9098d8f7d3.tar.gz ayatana-indicator-datetime-2b3520c35c6e8a0db0217b0d8b02fe9098d8f7d3.tar.bz2 ayatana-indicator-datetime-2b3520c35c6e8a0db0217b0d8b02fe9098d8f7d3.zip |
in src/clock-live.c, pass the right pointer to on_detect_location_changed().
Diffstat (limited to 'src')
-rw-r--r-- | src/clock-live.c | 5 |
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); } |