From b3d57dc4bd6f5ef68e54806824fa35a55d06d0da Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Wed, 30 Dec 2020 11:01:44 +0100 Subject: [PATCH] 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: --- .../gnome-shell-calendar-server.c | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/calendar-server/gnome-shell-calendar-server.c b/src/calendar-server/gnome-shell-calendar-server.c index 56cee994d..61ac92785 100644 --- a/src/calendar-server/gnome-shell-calendar-server.c +++ b/src/calendar-server/gnome-shell-calendar-server.c @@ -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)