From 83f5888387c17fd95faf4c75117a5768ac7a4825 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 25 Jun 2002 19:55:00 +0000 Subject: Some compiler warning fixes. 2002-06-25 Jeffrey Stedfast * 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 --- mail/component-factory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/component-factory.c') 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); -- cgit v1.2.3