[evolution-kolab] kolab_util_contact_cache_assure_uid_on_econtact: Remove unused "cache" argument.



commit 583020cf7bf30f3460af1b10e6ace548b1d26d52
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Jun 27 09:44:21 2012 -0400

    kolab_util_contact_cache_assure_uid_on_econtact: Remove unused "cache" argument.

 src/addressbook/e-book-backend-kolab.c     |    3 +--
 src/addressbook/kolab-util-contact-cache.c |    5 +----
 src/addressbook/kolab-util-contact-cache.h |    3 +--
 3 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-kolab.c b/src/addressbook/e-book-backend-kolab.c
index f669103..00bfafd 100644
--- a/src/addressbook/e-book-backend-kolab.c
+++ b/src/addressbook/e-book-backend-kolab.c
@@ -564,8 +564,7 @@ e_book_backend_kolab_create_contacts (EBookBackendSync *backend,
 			goto exit;
 		}
 
-		ok = kolab_util_contact_cache_assure_uid_on_econtact (priv->book_cache,
-		                                                      priv->book_koma,
+		ok = kolab_util_contact_cache_assure_uid_on_econtact (priv->book_koma,
 		                                                      econtact,
 		                                                      priv->book_uri,
 		                                                      FALSE,
diff --git a/src/addressbook/kolab-util-contact-cache.c b/src/addressbook/kolab-util-contact-cache.c
index fe61206..ab93c08 100644
--- a/src/addressbook/kolab-util-contact-cache.c
+++ b/src/addressbook/kolab-util-contact-cache.c
@@ -115,7 +115,6 @@ kolab_util_contact_cache_update_object (KolabMailAccess *koma,
 
 /**
  * kolab_util_contact_cache_assure_uid_on_econtact:
- * @cache: An EBookBackendCache.
  * @koma: A KolabMailAccess instance.
  * @econtact: An EContact.
  * @uri: An EContact uri string.
@@ -128,8 +127,7 @@ kolab_util_contact_cache_update_object (KolabMailAccess *koma,
  * Returns: On Success TRUE is returned.
  */
 gboolean
-kolab_util_contact_cache_assure_uid_on_econtact (EBookBackendCache *cache,
-                                                 KolabMailAccess *koma,
+kolab_util_contact_cache_assure_uid_on_econtact (KolabMailAccess *koma,
                                                  EContact *econtact,
                                                  const gchar *uri,
                                                  gboolean bulk,
@@ -141,7 +139,6 @@ kolab_util_contact_cache_assure_uid_on_econtact (EBookBackendCache *cache,
 	gchar *uid = NULL;
 	KolabSettingsHandler *ksettings = NULL;
 
-	g_assert (E_IS_BOOK_BACKEND_CACHE (cache));
 	g_assert (KOLAB_IS_MAIL_ACCESS (koma));
 	g_assert (E_IS_CONTACT (econtact));
 	g_assert (uri != NULL);
diff --git a/src/addressbook/kolab-util-contact-cache.h b/src/addressbook/kolab-util-contact-cache.h
index 8a751d9..3c7297a 100644
--- a/src/addressbook/kolab-util-contact-cache.h
+++ b/src/addressbook/kolab-util-contact-cache.h
@@ -40,8 +40,7 @@
 /*----------------------------------------------------------------------------*/
 
 gboolean
-kolab_util_contact_cache_assure_uid_on_econtact (EBookBackendCache *cache,
-                                                 KolabMailAccess *koma,
+kolab_util_contact_cache_assure_uid_on_econtact (KolabMailAccess *koma,
                                                  EContact *econtact,
                                                  const gchar *uri,
                                                  gboolean bulk,



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