views/month-cell: Remove dimming of out-of-month cells

The infinite scrolling month view obsoletes the out-of-month
dimming, as the view is no longer fixed in a specific month, nor
does it make out-of-month cells insensitive.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1145
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/646>
This commit is contained in:
Philipp Sauberzweig
2025-10-17 18:06:17 -04:00
committed by Hari Rana
parent fd9cf44ea2
commit a32df2b070
6 changed files with 0 additions and 64 deletions
-25
View File
@@ -826,31 +826,6 @@ gcal_month_view_row_remove_event (GcalMonthViewRow *self,
GCAL_EXIT;
}
void
gcal_month_view_row_update_style_for_date (GcalMonthViewRow *self,
GDateTime *date)
{
g_autoptr (GDateTime) range_start = NULL;
g_assert (GCAL_IS_MONTH_VIEW_ROW (self));
g_assert (date != NULL);
g_assert (self->range != NULL);
range_start = gcal_range_get_start (self->range);
for (guint i = 0; i < 7; i++)
{
g_autoptr (GDateTime) cell_date = NULL;
gboolean different_month;
cell_date = g_date_time_add_days (range_start, i);
different_month = g_date_time_get_year (cell_date) != g_date_time_get_year (date) ||
g_date_time_get_month (cell_date) != g_date_time_get_month (date);
gcal_month_cell_set_different_month (GCAL_MONTH_CELL (self->day_cells[i]), different_month);
}
}
GList*
gcal_month_view_row_get_children_by_uuid (GcalMonthViewRow *self,
GcalRecurrenceModType mod,