views/week: Replace chain up by manual snapshotting

Should make it easier to spot mistakes in the future.
This commit is contained in:
Georges Basile Stavracas Neto
2025-04-04 21:00:29 -03:00
parent fb52dae400
commit 82fa42ec9e
+1 -1
View File
@@ -1460,7 +1460,7 @@ gcal_week_header_snapshot (GtkWidget *widget,
gcal_week_view_common_snapshot_hour_lines (widget, snapshot, GTK_ORIENTATION_HORIZONTAL, width, height);
gtk_snapshot_restore (snapshot);
GTK_WIDGET_CLASS (gcal_week_header_parent_class)->snapshot (widget, snapshot);
gtk_widget_snapshot_child (widget, self->main_box, snapshot);
g_clear_pointer (&week_start, g_date_time_unref);
g_clear_pointer (&week_end, g_date_time_unref);