From 61e47e195ea3084227b2a986e055bfdb7e18444b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 28 Sep 2001 22:38:08 +0000 Subject: Init the nntp url hash and url_equal functions. 2001-09-28 Jeffrey Stedfast * providers/nntp/camel-nntp-provider.c (camel_provider_module_init): Init the nntp url hash and url_equal functions. * providers/sendmail/camel-sendmail-provider.c (camel_provider_module_init): Init the sendmail url hash and url_equal functions. * providers/smtp/camel-smtp-provider.c (camel_provider_module_init): Init the smtp url hash and url_equal functions. * providers/pop3/camel-pop3-provider.c (camel_provider_module_init): Init the pop3 url hash and url_equal functions. * providers/imap/camel-imap-provider.c (camel_provider_module_init): Init the imap url hash and url_equal functions. * providers/local/camel-local-provider.c (camel_provider_module_init): Init the local url hash and url_equal functions. * camel-session.c (camel_session_class_init): Init the vfolder url hash and url_equal functions. * camel-provider.h: Added url_hash and url_equal function pointers to the structure. * camel-vtrash-folder.c (vtrash_move_messages_to): Oops, a CamelFolder is not a CamelFolderClass. svn path=/trunk/; revision=13237 --- camel/providers/sendmail/camel-sendmail-provider.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'camel/providers/sendmail/camel-sendmail-provider.c') diff --git a/camel/providers/sendmail/camel-sendmail-provider.c b/camel/providers/sendmail/camel-sendmail-provider.c index d61351867c..05b97bc495 100644 --- a/camel/providers/sendmail/camel-sendmail-provider.c +++ b/camel/providers/sendmail/camel-sendmail-provider.c @@ -53,8 +53,10 @@ camel_provider_module_init (CamelSession *session) { sendmail_provider.object_types[CAMEL_PROVIDER_TRANSPORT] = camel_sendmail_transport_get_type(); - + sendmail_provider.service_cache = g_hash_table_new (camel_url_hash, camel_url_equal); + sendmail_provider.url_hash = camel_url_hash; + sendmail_provider.url_equal = camel_url_equal; camel_session_register_provider (session, &sendmail_provider); } -- cgit v1.2.3