gui: Replace dim-label with dimmed style class
`dim-label` is deprecated. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/624>
This commit is contained in:
@@ -202,9 +202,9 @@ update_color (GcalEventWidget *self)
|
||||
|
||||
/* Fades out an event that's earlier than the current date */
|
||||
if (date_compare < 0)
|
||||
gtk_widget_add_css_class (GTK_WIDGET (self), "dim-label");
|
||||
gtk_widget_add_css_class (GTK_WIDGET (self), "dimmed");
|
||||
else
|
||||
gtk_widget_remove_css_class (GTK_WIDGET (self), "dim-label");
|
||||
gtk_widget_remove_css_class (GTK_WIDGET (self), "dimmed");
|
||||
|
||||
/* Remove the old style class */
|
||||
if (self->css_class)
|
||||
|
||||
Reference in New Issue
Block a user