views/dazzling-month-view: Propagate context to rows

This commit is contained in:
Georges Basile Stavracas Neto
2023-08-11 15:13:44 -03:00
parent adaf735ada
commit f8f2c10a8e
3 changed files with 51 additions and 0 deletions
+4
View File
@@ -876,6 +876,10 @@ gcal_dazzling_month_view_set_property (GObject *object,
case PROP_CONTEXT:
g_assert (self->context == NULL);
self->context = g_value_dup_object (value);
for (gint i = 0; i < N_TOTAL_ROWS; i++)
gcal_month_view_row_set_context (g_ptr_array_index (self->week_rows, i), self->context);
g_object_notify (object, "context");
break;