calendar-server: Remove unused variables and function

The code that used them was removed in commit 7e0e224e0e.

https://bugzilla.gnome.org/show_bug.cgi?id=780381
This commit is contained in:
Florian Müllner 2017-03-21 22:01:43 +01:00
parent ad80cc8950
commit 5de85c708f

View File

@ -387,21 +387,6 @@ calendar_appointment_init (CalendarAppointment *appointment,
default_zone); default_zone);
} }
static icaltimezone *
resolve_timezone_id (const char *tzid,
ECalClient *source)
{
icaltimezone *retval;
retval = icaltimezone_get_builtin_timezone_from_tzid (tzid);
if (!retval)
{
e_cal_client_get_timezone_sync (source, tzid, &retval, NULL, NULL);
}
return retval;
}
static CalendarAppointment * static CalendarAppointment *
calendar_appointment_new (icalcomponent *ical, calendar_appointment_new (icalcomponent *ical,
ECalClient *cal) ECalClient *cal)
@ -624,7 +609,6 @@ app_load_events (App *app)
{ {
ECalClient *cal = E_CAL_CLIENT (l->data); ECalClient *cal = E_CAL_CLIENT (l->data);
GError *error; GError *error;
GSList *objects, *j;
ECalClientView *view; ECalClientView *view;
CollectAppointmentsData data; CollectAppointmentsData data;