utils: Prefix macros with GCAL_
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/842>
This commit is contained in:
@@ -111,7 +111,7 @@ add_month_separators (GcalMonthCell *self)
|
||||
gtk_widget_remove_css_class (GTK_WIDGET (self), "separator-side");
|
||||
|
||||
day_of_month = g_date_time_get_day_of_month (self->date);
|
||||
if (day_of_month > 1 && day_of_month <= N_WEEKDAYS)
|
||||
if (day_of_month > 1 && day_of_month <= GCAL_N_WEEKDAYS)
|
||||
{
|
||||
gtk_widget_add_css_class (GTK_WIDGET (self), "separator-top");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user