|
|
f3cbb9 |
From 56cfd8d36bdf98af82a302d811e9b01caaff2679 Mon Sep 17 00:00:00 2001
|
|
|
f3cbb9 |
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
|
|
f3cbb9 |
Date: Tue, 21 Mar 2017 22:01:43 +0100
|
|
|
f3cbb9 |
Subject: [PATCH] calendar-server: Remove unused variables and function
|
|
|
f3cbb9 |
|
|
|
f3cbb9 |
The code that used them was removed in commit 7e0e224e0eb8.
|
|
|
f3cbb9 |
---
|
|
|
f3cbb9 |
src/calendar-server/gnome-shell-calendar-server.c | 16 ----------------
|
|
|
f3cbb9 |
1 file changed, 16 deletions(-)
|
|
|
f3cbb9 |
|
|
|
f3cbb9 |
diff --git a/src/calendar-server/gnome-shell-calendar-server.c b/src/calendar-server/gnome-shell-calendar-server.c
|
|
|
f3cbb9 |
index 57bc71bb8..b607b7331 100644
|
|
|
f3cbb9 |
--- a/src/calendar-server/gnome-shell-calendar-server.c
|
|
|
f3cbb9 |
+++ b/src/calendar-server/gnome-shell-calendar-server.c
|
|
|
f3cbb9 |
@@ -387,21 +387,6 @@ calendar_appointment_init (CalendarAppointment *appointment,
|
|
|
f3cbb9 |
default_zone);
|
|
|
f3cbb9 |
}
|
|
|
f3cbb9 |
|
|
|
f3cbb9 |
-static icaltimezone *
|
|
|
f3cbb9 |
-resolve_timezone_id (const char *tzid,
|
|
|
f3cbb9 |
- ECalClient *source)
|
|
|
f3cbb9 |
-{
|
|
|
f3cbb9 |
- icaltimezone *retval;
|
|
|
f3cbb9 |
-
|
|
|
f3cbb9 |
- retval = icaltimezone_get_builtin_timezone_from_tzid (tzid);
|
|
|
f3cbb9 |
- if (!retval)
|
|
|
f3cbb9 |
- {
|
|
|
f3cbb9 |
- e_cal_client_get_timezone_sync (source, tzid, &retval, NULL, NULL);
|
|
|
f3cbb9 |
- }
|
|
|
f3cbb9 |
-
|
|
|
f3cbb9 |
- return retval;
|
|
|
f3cbb9 |
-}
|
|
|
f3cbb9 |
-
|
|
|
f3cbb9 |
static CalendarAppointment *
|
|
|
f3cbb9 |
calendar_appointment_new (icalcomponent *ical,
|
|
|
f3cbb9 |
ECalClient *cal)
|
|
|
f3cbb9 |
@@ -624,7 +609,6 @@ app_load_events (App *app)
|
|
|
f3cbb9 |
{
|
|
|
f3cbb9 |
ECalClient *cal = E_CAL_CLIENT (l->data);
|
|
|
f3cbb9 |
GError *error;
|
|
|
f3cbb9 |
- GSList *objects, *j;
|
|
|
f3cbb9 |
ECalClientView *view;
|
|
|
f3cbb9 |
CollectAppointmentsData data;
|
|
|
f3cbb9 |
|
|
|
f3cbb9 |
--
|
|
|
f3cbb9 |
2.12.0
|
|
|
f3cbb9 |
|