[evolution-data-server] EBookBackend: Remove set_backend_property() method.



commit 286d6758659a41b2ac37478a788535f39fd57b9d
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Mar 31 12:41:00 2013 -0400

    EBookBackend: Remove set_backend_property() method.
    
    No longer used.

 addressbook/libedata-book/e-book-backend-sync.c |   25 -----------------------
 addressbook/libedata-book/e-book-backend-sync.h |    9 --------
 addressbook/libedata-book/e-book-backend.c      |   14 +------------
 addressbook/libedata-book/e-book-backend.h      |    8 -------
 4 files changed, 1 insertions(+), 55 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-sync.c b/addressbook/libedata-book/e-book-backend-sync.c
index dd1ace6..fea3d3b 100644
--- a/addressbook/libedata-book/e-book-backend-sync.c
+++ b/addressbook/libedata-book/e-book-backend-sync.c
@@ -375,17 +375,6 @@ book_backend_get_backend_property (EBookBackend *backend,
 }
 
 static void
-book_backend_set_backend_property (EBookBackend *backend,
-                                   EDataBook *book,
-                                   guint32 opid,
-                                   GCancellable *cancellable,
-                                   const gchar *prop_name,
-                                   const gchar *prop_value)
-{
-       /* Do nothing. */
-}
-
-static void
 book_backend_create_contacts (EBookBackend *backend,
                               EDataBook *book,
                               guint32 opid,
@@ -504,18 +493,6 @@ book_backend_sync_get_backend_property (EBookBackendSync *backend,
        return FALSE;
 }
 
-static gboolean
-book_backend_sync_set_backend_property (EBookBackendSync *backend,
-                                        EDataBook *book,
-                                        GCancellable *cancellable,
-                                        const gchar *prop_name,
-                                        const gchar *prop_value,
-                                        GError **error)
-{
-       /* to indicate to pass to the EBookBackend parent class */
-       return FALSE;
-}
-
 static void
 e_book_backend_sync_init (EBookBackendSync *backend)
 {
@@ -529,7 +506,6 @@ e_book_backend_sync_class_init (EBookBackendSyncClass *class)
        backend_class->open                     = book_backend_open;
        backend_class->refresh                  = book_backend_refresh;
        backend_class->get_backend_property     = book_backend_get_backend_property;
-       backend_class->set_backend_property     = book_backend_set_backend_property;
        backend_class->create_contacts          = book_backend_create_contacts;
        backend_class->remove_contacts          = book_backend_remove_contacts;
        backend_class->modify_contacts          = book_backend_modify_contacts;
@@ -538,5 +514,4 @@ e_book_backend_sync_class_init (EBookBackendSyncClass *class)
        backend_class->get_contact_list_uids    = book_backend_get_contact_list_uids;
 
        class->get_backend_property_sync        = book_backend_sync_get_backend_property;
-       class->set_backend_property_sync        = book_backend_sync_set_backend_property;
 }
diff --git a/addressbook/libedata-book/e-book-backend-sync.h b/addressbook/libedata-book/e-book-backend-sync.h
index 3a604be..ff720f3 100644
--- a/addressbook/libedata-book/e-book-backend-sync.h
+++ b/addressbook/libedata-book/e-book-backend-sync.h
@@ -62,15 +62,6 @@ struct _EBookBackendSyncClass {
                                                 gchar **prop_value,
                                                 GError **error);
 
-       /* This method is deprecated. */
-       gboolean        (*set_backend_property_sync)
-                                               (EBookBackendSync *backend,
-                                                EDataBook *book,
-                                                GCancellable *cancellable,
-                                                const gchar *prop_name,
-                                                const gchar *prop_value,
-                                                GError **error);
-
        void            (*create_contacts_sync) (EBookBackendSync *backend,
                                                 EDataBook *book,
                                                 GCancellable *cancellable,
diff --git a/addressbook/libedata-book/e-book-backend.c b/addressbook/libedata-book/e-book-backend.c
index 1218ce7..9335bd2 100644
--- a/addressbook/libedata-book/e-book-backend.c
+++ b/addressbook/libedata-book/e-book-backend.c
@@ -342,17 +342,6 @@ book_backend_get_backend_property (EBookBackend *backend,
 }
 
 static void
-book_backend_set_backend_property (EBookBackend *backend,
-                                   EDataBook *book,
-                                   guint32 opid,
-                                   GCancellable *cancellable,
-                                   const gchar *prop_name,
-                                   const gchar *prop_value)
-{
-       /* Do nothing. */
-}
-
-static void
 book_backend_set_registry (EBookBackend *backend,
                            ESourceRegistry *registry)
 {
@@ -527,8 +516,7 @@ e_book_backend_class_init (EBookBackendClass *class)
        backend_class->authenticate_sync = book_backend_authenticate_sync;
 
        class->get_backend_property = book_backend_get_backend_property;
-       class->set_backend_property = book_backend_set_backend_property;
-       class->notify_update        = book_backend_notify_update;
+       class->notify_update = book_backend_notify_update;
 
        g_object_class_install_property (
                object_class,
diff --git a/addressbook/libedata-book/e-book-backend.h b/addressbook/libedata-book/e-book-backend.h
index ab2eded..be0de9e 100644
--- a/addressbook/libedata-book/e-book-backend.h
+++ b/addressbook/libedata-book/e-book-backend.h
@@ -108,14 +108,6 @@ struct _EBookBackendClass {
                                                 GCancellable *cancellable,
                                                 const gchar *prop_name);
 
-       /* This method is deprecated. */
-       void            (*set_backend_property) (EBookBackend *backend,
-                                                EDataBook *book,
-                                                guint32 opid,
-                                                GCancellable *cancellable,
-                                                const gchar *prop_name,
-                                                const gchar *prop_value);
-
        void            (*open)                 (EBookBackend *backend,
                                                 EDataBook *book,
                                                 guint32 opid,


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