timer: Improve duration api
- rename duration setter - add duration getter
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
5475df20c6
commit
50e675da05
@@ -1235,7 +1235,7 @@ static void
|
||||
update_timeout_interval (GcalWeatherService *self)
|
||||
{
|
||||
g_return_if_fail (GCAL_IS_WEATHER_SERVICE (self));
|
||||
gcal_timer_set_duration (self->timer, self->check_interval_renew);
|
||||
gcal_timer_set_default_duration (self->timer, self->check_interval_renew);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user