diff options
Diffstat (limited to 'gweather/gweather-applet.c')
-rw-r--r-- | gweather/gweather-applet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gweather/gweather-applet.c b/gweather/gweather-applet.c index 4e38b0e85..101d64fb2 100644 --- a/gweather/gweather-applet.c +++ b/gweather/gweather-applet.c @@ -398,14 +398,14 @@ update_finish (WeatherInfo *info, gpointer data) if (gw_applet->gweather_pref.update_enabled) { gw_applet->timeout_tag = - g_timeout_add ( - gw_applet->gweather_pref.update_interval * 1000, + g_timeout_add_seconds ( + gw_applet->gweather_pref.update_interval, timeout_cb, gw_applet); nxtSunEvent = weather_info_next_sun_event(gw_applet->gweather_info); if (nxtSunEvent >= 0) gw_applet->suncalc_timeout_tag = - g_timeout_add (nxtSunEvent * 1000, + g_timeout_add_seconds (nxtSunEvent, suncalc_timeout_cb, gw_applet); } |