[evolution-ews] Remove book/cal remove() backend methods.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Remove book/cal remove() backend methods.
- Date: Thu, 16 Aug 2012 22:07:00 +0000 (UTC)
commit fa4d0769782bfada857636a3dc81dc4893f137c6
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Aug 16 16:30:34 2012 -0400
Remove book/cal remove() backend methods.
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.
src/addressbook/e-book-backend-ews.c | 10 ----------
src/calendar/e-cal-backend-ews.c | 24 ------------------------
2 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-ews.c b/src/addressbook/e-book-backend-ews.c
index eb4fa32..4d4a6ab 100644
--- a/src/addressbook/e-book-backend-ews.c
+++ b/src/addressbook/e-book-backend-ews.c
@@ -2702,15 +2702,6 @@ e_book_backend_ews_load_source (EBookBackend *backend,
}
static void
-e_book_backend_ews_remove (EBookBackend *backend,
- EDataBook *book,
- guint32 opid,
- GCancellable *cancellable)
-{
- e_data_book_respond_remove (book, opid, EDB_ERROR (SUCCESS));
-}
-
-static void
e_book_backend_ews_notify_online_cb (EBookBackend *backend,
GParamSpec *spec)
{
@@ -2981,7 +2972,6 @@ e_book_backend_ews_class_init (EBookBackendEwsClass *klass)
parent_class->modify_contacts = e_book_backend_ews_modify_contacts;
parent_class->get_contact = e_book_backend_ews_get_contact;
parent_class->get_contact_list = e_book_backend_ews_get_contact_list;
- parent_class->remove = e_book_backend_ews_remove;
parent_class->start_book_view = e_book_backend_ews_start_book_view;
parent_class->stop_book_view = e_book_backend_ews_stop_book_view;
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 5290383..3e45353 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -675,29 +675,6 @@ e_cal_backend_ews_open (ECalBackend *backend,
}
static void
-e_cal_backend_ews_remove (ECalBackend *backend,
- EDataCal *cal,
- guint32 context,
- GCancellable *cancellable)
-{
- ECalBackendEws *cbews;
- ECalBackendEwsPrivate *priv;
-
- cbews = E_CAL_BACKEND_EWS (backend);
- priv = cbews->priv;
-
- PRIV_LOCK (priv);
-
- /* remove the cache */
- if (priv->store)
- e_cal_backend_store_remove (priv->store);
-
- PRIV_UNLOCK (priv);
-
- e_data_cal_respond_remove (cal, context, NULL);
-}
-
-static void
e_cal_backend_ews_get_object (ECalBackend *backend,
EDataCal *cal,
guint32 context,
@@ -4281,7 +4258,6 @@ e_cal_backend_ews_class_init (ECalBackendEwsClass *class)
backend_class->refresh = e_cal_backend_ews_refresh;
backend_class->get_object = e_cal_backend_ews_get_object;
backend_class->get_object_list = e_cal_backend_ews_get_object_list;
- backend_class->remove = e_cal_backend_ews_remove;
backend_class->discard_alarm = e_cal_backend_ews_discard_alarm;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]