year-view: Show weather reports.

This view is not ref-counted correctly. I use the same
workaround to avoid runtime errors as for month views.
This commit is contained in:
Florian Brosch
2017-12-11 22:06:54 -02:00
committed by Georges Basile Stavracas Neto
parent 67f3a2057e
commit d13473d3bc
4 changed files with 226 additions and 9 deletions
+1
View File
@@ -1678,6 +1678,7 @@ gcal_window_init (GcalWindow *self)
g_object_bind_property (self, "manager", self->quick_add_popover, "manager", G_BINDING_DEFAULT);
g_object_bind_property (self, "weather-service", self->week_view, "weather-service", G_BINDING_DEFAULT);
g_object_bind_property (self, "weather-service", self->month_view, "weather-service", G_BINDING_DEFAULT);
g_object_bind_property (self, "weather-service", self->year_view, "weather-service", G_BINDING_DEFAULT);
/* setup accels */
app = g_application_get_default ();