[gnome-shell] calendar-server: Remove unused functions
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] calendar-server: Remove unused functions
- Date: Wed, 30 Dec 2020 14:38:58 +0000 (UTC)
commit b3d57dc4bd6f5ef68e54806824fa35a55d06d0da
Author: Sebastian Keller <skeller gnome org>
Date: Wed Dec 30 11:01:44 2020 +0100
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>
src/calendar-server/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 56cee994d8..61ac92785e 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]