From ac97d963b038541b84aa15b4eaa3d28fd9d60114 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 23 Feb 2001 16:51:45 +0000 Subject: No longer need to do a vtrash_cleanup() (it also doesn't exist anymore). 2001-02-23 Jeffrey Stedfast * main.c (main): No longer need to do a vtrash_cleanup() (it also doesn't exist anymore). * component-factory.c (mail_load_storages): Updated to use the new vtrash code. (owner_set_cb): Same. * mail-tools.c (mail_tool_uri_to_folder): Update to handle the "vtrash:" url prefix so that we can extract the REAL uri and know to get the trash folder. * mail-vtrash.c (mail_vtrash_add): Add the vTrash folder to the EvolutionStorage. (mail_vtrash_create): Get the store based on the uri (async) and then call mail_trash_add. (vtrash_cleanup): Removed. (vtrash_uri_to_folder): Removed. (vtrash_create): Replaced by mail_vtrash_create() svn path=/trunk/; revision=8367 --- mail/mail-vtrash.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'mail/mail-vtrash.h') diff --git a/mail/mail-vtrash.h b/mail/mail-vtrash.h index a53269e236..1aac0c1e9f 100644 --- a/mail/mail-vtrash.h +++ b/mail/mail-vtrash.h @@ -31,13 +31,9 @@ extern "C" { #pragma } #endif /* __cplusplus */ -CamelFolder *vtrash_uri_to_folder (const char *uri, CamelException *ex); +void mail_vtrash_add (CamelStore *store, const char *store_uri, const char *name); -int vtrash_create (const char *store_uri, - void (*done) (char *store_uri, CamelFolder *folder, void *data), - void *data); - -void vtrash_cleanup (void); +int mail_vtrash_create (const char *store_uri, const char *name); #ifdef __cplusplus } -- cgit v1.2.3