calendar-server: Remove unused functions

These have been unused since tasks support was dropped when the calendar
integration was moved out of process in e9e30138. GCC did not complain
about this, because the functions were inlined.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1557>
This commit is contained in:
Sebastian Keller 2020-12-30 11:01:44 +01:00
parent eafbfdfa07
commit b3d57dc4bd

View File

@ -220,30 +220,6 @@ get_ical_is_all_day (ECalClient *cal,
return retval;
}
static inline time_t
get_ical_due_time (ECalClient *cal,
ICalComponent *icomp,
ICalTimezone *default_zone)
{
return get_time_from_property (cal,
icomp,
I_CAL_DUE_PROPERTY,
i_cal_property_get_due,
default_zone);
}
static inline time_t
get_ical_completed_time (ECalClient *cal,
ICalComponent *icomp,
ICalTimezone *default_zone)
{
return get_time_from_property (cal,
icomp,
I_CAL_COMPLETED_PROPERTY,
i_cal_property_get_completed,
default_zone);
}
static CalendarAppointment *
calendar_appointment_new (ECalClient *cal,
ECalComponent *comp)