[evolution-data-server] ECalBackendContacts: Remove the remove_sync() method.



commit 60f39a634be2096dc4c433403fbd42566399b7a4
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Aug 16 15:52:57 2012 -0400

    ECalBackendContacts: 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.

 .../backends/contacts/e-cal-backend-contacts.c     |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/calendar/backends/contacts/e-cal-backend-contacts.c b/calendar/backends/contacts/e-cal-backend-contacts.c
index 097b52e..2c34579 100644
--- a/calendar/backends/contacts/e-cal-backend-contacts.c
+++ b/calendar/backends/contacts/e-cal-backend-contacts.c
@@ -1032,16 +1032,6 @@ e_cal_backend_contacts_get_backend_property (ECalBackendSync *backend,
 }
 
 static void
-e_cal_backend_contacts_remove (ECalBackendSync *backend,
-                               EDataCal *cal,
-                               GCancellable *cancellable,
-                               GError **perror)
-{
-	/* WRITE ME */
-	g_propagate_error (perror, EDC_ERROR (PermissionDenied));
-}
-
-static void
 e_cal_backend_contacts_get_object (ECalBackendSync *backend,
                                    EDataCal *cal,
                                    GCancellable *cancellable,
@@ -1419,7 +1409,6 @@ e_cal_backend_contacts_class_init (ECalBackendContactsClass *class)
 
 	sync_class->get_backend_property_sync	= e_cal_backend_contacts_get_backend_property;
 	sync_class->open_sync			= e_cal_backend_contacts_open;
-	sync_class->remove_sync			= e_cal_backend_contacts_remove;
 	sync_class->create_objects_sync		= e_cal_backend_contacts_create_objects;
 	sync_class->receive_objects_sync	= e_cal_backend_contacts_receive_objects;
 	sync_class->send_objects_sync		= e_cal_backend_contacts_send_objects;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]