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



commit e4314f513dc24f29c6b343d4b861fcefe56c9587
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Mar 31 12:52:21 2013 -0400

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

 calendar/libedata-cal/e-cal-backend-sync.c |   25 -------------------------
 calendar/libedata-cal/e-cal-backend.c      |   12 ------------
 calendar/libedata-cal/e-cal-backend.h      |    8 --------
 3 files changed, 0 insertions(+), 45 deletions(-)
---
diff --git a/calendar/libedata-cal/e-cal-backend-sync.c b/calendar/libedata-cal/e-cal-backend-sync.c
index cb6fb54..68ab831 100644
--- a/calendar/libedata-cal/e-cal-backend-sync.c
+++ b/calendar/libedata-cal/e-cal-backend-sync.c
@@ -558,17 +558,6 @@ cal_backend_get_backend_property (ECalBackend *backend,
 }
 
 static void
-cal_backend_set_backend_property (ECalBackend *backend,
-                                  EDataCal *cal,
-                                  guint32 opid,
-                                  GCancellable *cancellable,
-                                  const gchar *prop_name,
-                                  const gchar *prop_value)
-{
-       /* Do nothing. */
-}
-
-static void
 cal_backend_get_object (ECalBackend *backend,
                         EDataCal *cal,
                         guint32 opid,
@@ -864,18 +853,6 @@ cal_backend_sync_get_backend_property (ECalBackendSync *backend,
        return FALSE;
 }
 
-static gboolean
-cal_backend_sync_set_backend_property (ECalBackendSync *backend,
-                                       EDataCal *cal,
-                                       GCancellable *cancellable,
-                                       const gchar *prop_name,
-                                       const gchar *prop_value,
-                                       GError **error)
-{
-       /* to indicate to pass to the ECalBackend parent class */
-       return FALSE;
-}
-
 static void
 e_cal_backend_sync_finalize (GObject *object)
 {
@@ -904,7 +881,6 @@ e_cal_backend_sync_class_init (ECalBackendSyncClass *class)
        backend_class->open                     = cal_backend_open;
        backend_class->refresh                  = cal_backend_refresh;
        backend_class->get_backend_property     = cal_backend_get_backend_property;
-       backend_class->set_backend_property     = cal_backend_set_backend_property;
        backend_class->get_object               = cal_backend_get_object;
        backend_class->get_object_list          = cal_backend_get_object_list;
        backend_class->get_free_busy            = cal_backend_get_free_busy;
@@ -919,7 +895,6 @@ e_cal_backend_sync_class_init (ECalBackendSyncClass *class)
        backend_class->add_timezone             = cal_backend_add_timezone;
 
        class->get_backend_property_sync        = cal_backend_sync_get_backend_property;
-       class->set_backend_property_sync        = cal_backend_sync_set_backend_property;
 }
 
 static void
diff --git a/calendar/libedata-cal/e-cal-backend.c b/calendar/libedata-cal/e-cal-backend.c
index 45b8f81..b9e8f60 100644
--- a/calendar/libedata-cal/e-cal-backend.c
+++ b/calendar/libedata-cal/e-cal-backend.c
@@ -440,17 +440,6 @@ cal_backend_emit_timezone_added_idle_cb (gpointer user_data)
 }
 
 static void
-cal_backend_set_backend_property (ECalBackend *backend,
-                                  EDataCal *cal,
-                                  guint32 opid,
-                                  GCancellable *cancellable,
-                                  const gchar *prop_name,
-                                  const gchar *prop_value)
-{
-       /* Do nothing. */
-}
-
-static void
 cal_backend_set_kind (ECalBackend *backend,
                       icalcomponent_kind kind)
 {
@@ -779,7 +768,6 @@ e_cal_backend_class_init (ECalBackendClass *class)
        backend_class->authenticate_sync = cal_backend_authenticate_sync;
 
        class->get_backend_property = cal_backend_get_backend_property;
-       class->set_backend_property = cal_backend_set_backend_property;
 
        g_object_class_install_property (
                object_class,
diff --git a/calendar/libedata-cal/e-cal-backend.h b/calendar/libedata-cal/e-cal-backend.h
index 812e710..f9932c2 100644
--- a/calendar/libedata-cal/e-cal-backend.h
+++ b/calendar/libedata-cal/e-cal-backend.h
@@ -117,14 +117,6 @@ struct _ECalBackendClass {
                                                 GCancellable *cancellable,
                                                 const gchar *prop_name);
 
-       /* This method is deprecated. */
-       void            (*set_backend_property) (ECalBackend *backend,
-                                                EDataCal *cal,
-                                                guint32 opid,
-                                                GCancellable *cancellable,
-                                                const gchar *prop_name,
-                                                const gchar *prop_value);
-
        void            (*open)                 (ECalBackend *backend,
                                                 EDataCal *cal,
                                                 guint32 opid,


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