[evolution-kolab: 11/13] ECalBackendKolab: more API fixes for 3.5



commit 0cfa6fae059dbd44ec5d504a64aac6e42b808539
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Fri May 25 18:03:27 2012 +0200

    ECalBackendKolab: more API fixes for 3.5
    
    * ECalBackendSync does no longer have
      last_client_gone() virtual function
    * removed merge residue from previous
      commit

 src/calendar/e-cal-backend-kolab.c |   30 ++++--------------------------
 1 files changed, 4 insertions(+), 26 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-kolab.c b/src/calendar/e-cal-backend-kolab.c
index b89df86..a46cae7 100644
--- a/src/calendar/e-cal-backend-kolab.c
+++ b/src/calendar/e-cal-backend-kolab.c
@@ -967,9 +967,6 @@ e_cal_backend_kolab_create_objects (ECalBackendSync *backend,
 		return;
 	}
 
-	e_cal_component_get_uid (ecalcomp, &tmp_uid);
-	*uid = g_strdup (tmp_uid);
-
 	ok = kolab_util_calendar_store (ecalcomp,
 	                                tzcomp,
 	                                priv->default_zone,
@@ -1893,24 +1890,6 @@ e_cal_backend_kolab_stop_view (ECalBackend *backend,
 	g_mutex_unlock (active_cal_views_lock);
 }
 
-static void
-e_cal_backend_kolab_last_client_gone (ECalBackend *backend)
-{
-	ECalBackendKolab *self = NULL;
-	ECalBackendKolabPrivate *priv = NULL;
-
-	g_return_if_fail (E_IS_CAL_BACKEND_KOLAB (backend));
-
-	self = E_CAL_BACKEND_KOLAB (backend);
-	priv = E_CAL_BACKEND_KOLAB_PRIVATE (self);
-
-	/* FIXME implement me
-	 *       This could be the place to clean
-	 *       up the KolabMailAccess tables
-	 */
-	g_warning ("%s: FIXME implement me", __func__);
-}
-
 /*----------------------------------------------------------------------------*/
 /* object/class init */
 
@@ -1972,10 +1951,10 @@ e_cal_backend_kolab_dispose (GObject *object)
 
 	g_warning ("%s()[%u] FIXME KolabMailAccess (table) disposal", __func__, __LINE__);
 #if 0 /* FIXME (check g_object_toggle_ref cleanup callback) */
-		if (priv->cal_koma != NULL) {
-			g_object_unref (priv->cal_koma);
-			priv->cal_koma = NULL;
-		}
+	if (priv->cal_koma != NULL) {
+		g_object_unref (priv->cal_koma);
+		priv->cal_koma = NULL;
+	}
 #endif
 	if (priv->default_zone != NULL) {
 		g_object_unref (priv->default_zone);
@@ -2032,7 +2011,6 @@ e_cal_backend_kolab_class_init (ECalBackendKolabClass *klass)
 	/* Backend parent class methods methods not covered in the sync backend part */
 	backend_class->start_view = e_cal_backend_kolab_start_view;
 	backend_class->stop_view = e_cal_backend_kolab_stop_view;
-	backend_class->last_client_gone = e_cal_backend_kolab_last_client_gone;
 
 	/* Sync backend class functions */
 	sync_class->open_sync = e_cal_backend_kolab_open;



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