[evolution-kolab] Remove kolab_session_forget_password().



commit 4be7cbeb6678a84ecb2b6d0c8ee6ff19c794e2f6
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Aug 28 23:02:33 2012 -0400

    Remove kolab_session_forget_password().
    
    Older API, only used for PGP and other miscellaneous corner cases.
    CamelSession.authenticate_sync() is all we need to implement here.

 src/libekolab/camel-kolab-session.c |   29 -----------------------------
 1 files changed, 0 insertions(+), 29 deletions(-)
---
diff --git a/src/libekolab/camel-kolab-session.c b/src/libekolab/camel-kolab-session.c
index 7ed6507..c9a9ade 100644
--- a/src/libekolab/camel-kolab-session.c
+++ b/src/libekolab/camel-kolab-session.c
@@ -139,34 +139,6 @@ pk11_password (PK11SlotInfo *slot,
 /* class functions */
 
 static gboolean
-kolab_session_forget_password (CamelSession *self,
-                               CamelService *service,
-                               const gchar *item,
-                               GError **err)
-{
-	/* TODO rework to CamelSettings */
-
-	CamelKolabSession *myself = NULL;
-	CamelKolabSessionPrivate *priv = NULL;
-
-	g_assert (CAMEL_IS_KOLAB_SESSION (self));
-	g_assert (CAMEL_IS_KOLAB_IMAPX_STORE (service));
-	g_return_val_if_fail (err == NULL || *err == NULL, FALSE);
-
-	(void)item;
-
-	myself = CAMEL_KOLAB_SESSION (self);
-	priv = CAMEL_KOLAB_SESSION_PRIVATE (myself);
-
-	if (priv->passwd != NULL) {
-		g_free (priv->passwd);
-		priv->passwd = NULL;
-	}
-
-	return TRUE;
-}
-
-static gboolean
 kolab_session_authenticate_sync (CamelSession *session,
                                  CamelService *service,
                                  const gchar *mechanism,
@@ -318,7 +290,6 @@ camel_kolab_session_class_init (CamelKolabSessionClass *klass)
 	object_class->finalize = camel_kolab_session_finalize;
 
 	session_class->add_service = parent_class->add_service;
-	session_class->forget_password = kolab_session_forget_password;
 	session_class->authenticate_sync = kolab_session_authenticate_sync;
 }
 



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