Use weather service from GcalContext

All those properties were a waste compared to storing it
into the context.
This commit is contained in:
Georges Basile Stavracas Neto
2019-04-25 16:30:56 -03:00
parent 1297ad695b
commit 01fdf79e6a
15 changed files with 158 additions and 504 deletions
+2
View File
@@ -61,6 +61,8 @@ gcal_context_finalize (GObject *object)
{
GcalContext *self = (GcalContext *)object;
gcal_weather_service_stop (self->weather_service);
g_clear_object (&self->clock);
g_clear_object (&self->goa_client);
g_clear_object (&self->manager);