The service can be NULL here too, thanks to Wayne Davis for pointing this
authorJeffrey Stedfast <fejj@ximian.com>
Thu, 17 May 2001 00:34:02 +0000 (00:34 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Thu, 17 May 2001 00:34:02 +0000 (00:34 +0000)
2001-05-16  Jeffrey Stedfast  <fejj@ximian.com>

* camel-session.c (camel_session_forget_password): The service can
be NULL here too, thanks to Wayne Davis for pointing this out.

camel/ChangeLog
camel/camel-session.c

index 847482b..461ad7e 100644 (file)
@@ -1,5 +1,8 @@
 2001-05-16  Jeffrey Stedfast  <fejj@ximian.com>
 
+       * camel-session.c (camel_session_forget_password): The service can
+       be NULL here too, thanks to Wayne Davis for pointing this out.
+
        * camel-smime-context.c (camel_smime_context_new): We don't need
        to be passed the certdb path anymore.
 
index e0bdf95..7dc3c26 100644 (file)
@@ -569,7 +569,6 @@ camel_session_forget_password (CamelSession *session, CamelService *service,
                               const char *item, CamelException *ex)
 {
        g_return_if_fail (CAMEL_IS_SESSION (session));
-       g_return_if_fail (CAMEL_IS_SERVICE (service));
        g_return_if_fail (item != NULL);
 
        CS_CLASS (session)->forget_password (session, service, item, ex);