aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-06-26 03:55:00 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-06-26 03:55:00 +0800
commit83f5888387c17fd95faf4c75117a5768ac7a4825 (patch)
tree0822cf6c1cf442d910c5cfb3476d62027b23d33c /mail/component-factory.c
parentc22378ec3d57a2d351d663819e2c3da97e81101f (diff)
downloadgsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar.gz
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar.bz2
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar.lz
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar.xz
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar.zst
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.zip
Some compiler warning fixes.
2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_add_storage): Some compiler warning fixes. * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Removed. (mail_crypto_get_pgp_cipher_context): New convenience function to construct a pgp cipher context. (mail_crypto_pgp_mime_part_verify): Use the new get_pgp_cipher_context function. (mail_crypto_pgp_mime_part_encrypt): Same. (mail_crypto_pgp_mime_part_decrypt): Here too. * mail-account-gui.c (mail_account_gui_new): Initialise the pgp_always_trust checkbox. (mail_account_gui_save): Get whether or not to always_trust the user's pgp keys. * mail-config.c (account_copy): Copy over the pgp_always_trust option. (config_read): Read in the always_trust option. (mail_config_write): Save the always_trust option. svn path=/trunk/; revision=17277
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 5384bbd249..e42e9128f9 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -1297,11 +1297,11 @@ mail_add_storage (CamelStore *store, const char *name, const char *uri)
if (name == NULL) {
char *service_name;
- service_name = camel_service_get_name (store, TRUE);
- add_storage (service_name, uri, store, shell, &ex);
+ service_name = camel_service_get_name ((CamelService *) store, TRUE);
+ add_storage (service_name, uri, (CamelService *) store, shell, &ex);
g_free (service_name);
} else {
- add_storage (name, uri, store, shell, &ex);
+ add_storage (name, uri, (CamelService *) store, shell, &ex);
}
camel_exception_clear (&ex);