aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-31 06:16:49 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-31 06:16:49 +0800
commitbf408fed06a3da3336303f2d1085d1d6e5df3ce4 (patch)
treee92dea62b9d87391224c8e711bf492b3be4068a7 /mail/mail-session.c
parent61889c3c088058549f4d8bbd650043c2075b697c (diff)
downloadgsoc2013-evolution-bf408fed06a3da3336303f2d1085d1d6e5df3ce4.tar
gsoc2013-evolution-bf408fed06a3da3336303f2d1085d1d6e5df3ce4.tar.gz
gsoc2013-evolution-bf408fed06a3da3336303f2d1085d1d6e5df3ce4.tar.bz2
gsoc2013-evolution-bf408fed06a3da3336303f2d1085d1d6e5df3ce4.tar.lz
gsoc2013-evolution-bf408fed06a3da3336303f2d1085d1d6e5df3ce4.tar.xz
gsoc2013-evolution-bf408fed06a3da3336303f2d1085d1d6e5df3ce4.tar.zst
gsoc2013-evolution-bf408fed06a3da3336303f2d1085d1d6e5df3ce4.zip
We are not guarenteed to have a non-NULL service (ie. PGP) thus check for
2001-07-30 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (do_get_pass): We are not guarenteed to have a non-NULL service (ie. PGP) thus check for it. (pass_got): And again here. (mail_get_password): And of course here too. svn path=/trunk/; revision=11493
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r--mail/mail-session.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 4a55c6cf5e..f6a611c334 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -103,7 +103,7 @@ class_init (MailSessionClass *mail_session_class)
{
CamelSessionClass *camel_session_class =
CAMEL_SESSION_CLASS (mail_session_class);
-
+
/* virtual method override */
camel_session_class->get_password = get_password;
camel_session_class->forget_password = forget_password;
@@ -117,10 +117,11 @@ static CamelType
mail_session_get_type (void)
{
static CamelType mail_session_type = CAMEL_INVALID_TYPE;
-
+
if (mail_session_type == CAMEL_INVALID_TYPE) {
mail_session_type = camel_type_register (
- camel_session_get_type (), "MailSession",
+ camel_session_get_type (),
+ "MailSession",
sizeof (MailSession),
sizeof (MailSessionClass),
(CamelObjectClassInitFunc) class_init,
@@ -128,7 +129,7 @@ mail_session_get_type (void)
(CamelObjectInitFunc) init,
NULL);
}
-
+
return mail_session_type;
}