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
@@ -517,31 +517,6 @@ gcal_month_cell_set_date (GcalMonthCell *self,
update_weather (self);
}
gboolean
gcal_month_cell_get_different_month (GcalMonthCell *self)
{
g_return_val_if_fail (GCAL_IS_MONTH_CELL (self), FALSE);
return self->different_month;
}
void
gcal_month_cell_set_different_month (GcalMonthCell *self,
gboolean different)
{
g_return_if_fail (GCAL_IS_MONTH_CELL (self));
if (self->different_month == different)
return;
self->different_month = different;
if (different)
gtk_widget_add_css_class (GTK_WIDGET (self), "out-of-month");
else
gtk_widget_remove_css_class (GTK_WIDGET (self), "out-of-month");
}
GcalContext*
gcal_month_cell_get_context (GcalMonthCell *self)
{