[evolution-data-server] ECalBackendHttp: Remove the remove_sync() method.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] ECalBackendHttp: Remove the remove_sync() method.
- Date: Thu, 16 Aug 2012 22:05:46 +0000 (UTC)
commit cd2dd7f2e0fd2269b8481bfac1c0510f389c5b01
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Aug 16 15:54:28 2012 -0400
ECalBackendHttp: Remove the remove_sync() method.
Cache reaper module takes care of the data and cache cleanup now.
When a data source is removed, the backend for it is simply finalized.
calendar/backends/http/e-cal-backend-http.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/calendar/backends/http/e-cal-backend-http.c b/calendar/backends/http/e-cal-backend-http.c
index 4337cb1..4103d73 100644
--- a/calendar/backends/http/e-cal-backend-http.c
+++ b/calendar/backends/http/e-cal-backend-http.c
@@ -995,24 +995,6 @@ e_cal_backend_http_refresh (ECalBackendSync *backend,
priv->reload_timeout_id = g_timeout_add (1000, (GSourceFunc) reload_cb, cbhttp);
}
-static void
-e_cal_backend_http_remove (ECalBackendSync *backend,
- EDataCal *cal,
- GCancellable *cancellable,
- GError **perror)
-{
- ECalBackendHttp *cbhttp;
- ECalBackendHttpPrivate *priv;
-
- cbhttp = E_CAL_BACKEND_HTTP (backend);
- priv = cbhttp->priv;
-
- if (!priv->store)
- return;
-
- e_cal_backend_store_remove (priv->store);
-}
-
/* Set_mode handler for the http backend */
static void
e_cal_backend_http_notify_online_cb (ECalBackend *backend,
@@ -1564,7 +1546,6 @@ e_cal_backend_http_class_init (ECalBackendHttpClass *class)
sync_class->get_backend_property_sync = e_cal_backend_http_get_backend_property;
sync_class->open_sync = e_cal_backend_http_open;
sync_class->refresh_sync = e_cal_backend_http_refresh;
- sync_class->remove_sync = e_cal_backend_http_remove;
sync_class->create_objects_sync = e_cal_backend_http_create_objects;
sync_class->modify_objects_sync = e_cal_backend_http_modify_objects;
sync_class->remove_objects_sync = e_cal_backend_http_remove_objects;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]