ECalBackendContacts: Remove the remove_sync() method.
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 16 Aug 2012 19:52:57 +0000 (15:52 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Thu, 16 Aug 2012 22:05:06 +0000 (18:05 -0400)
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/contacts/e-cal-backend-contacts.c

index 097b52e..2c34579 100644 (file)
@@ -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;