window: Receive the context

Instead of the manager. This adds multiple lines retrieving
the manager from the context, but throughout the course of
this rework, they will probably be simplified.
This commit is contained in:
Georges Basile Stavracas Neto
2019-04-25 16:30:53 -03:00
parent beeecdf6b3
commit b98801a621
2 changed files with 78 additions and 57 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ gcal_application_activate (GApplication *application)
self->window = g_object_new (GCAL_TYPE_WINDOW,
"application", self,
"manager", manager,
"context", self->context,
"active-date", self->initial_date,
"weather-service", self->weather_service,
"time-format", self->time_format,