diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-02-24 00:51:45 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-02-24 00:51:45 +0800 |
commit | ac97d963b038541b84aa15b4eaa3d28fd9d60114 (patch) | |
tree | bd75dd9084c6315c49f094e5989ba5741f16e7ef /mail/mail-vtrash.h | |
parent | c06709a5751b39e4a9cbf931759245f6abaa3d53 (diff) | |
download | gsoc2013-evolution-ac97d963b038541b84aa15b4eaa3d28fd9d60114.tar gsoc2013-evolution-ac97d963b038541b84aa15b4eaa3d28fd9d60114.tar.gz gsoc2013-evolution-ac97d963b038541b84aa15b4eaa3d28fd9d60114.tar.bz2 gsoc2013-evolution-ac97d963b038541b84aa15b4eaa3d28fd9d60114.tar.lz gsoc2013-evolution-ac97d963b038541b84aa15b4eaa3d28fd9d60114.tar.xz gsoc2013-evolution-ac97d963b038541b84aa15b4eaa3d28fd9d60114.tar.zst gsoc2013-evolution-ac97d963b038541b84aa15b4eaa3d28fd9d60114.zip |
No longer need to do a vtrash_cleanup() (it also doesn't exist anymore).
2001-02-23 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'mail/mail-vtrash.h')
-rw-r--r-- | mail/mail-vtrash.h | 8 |
1 files changed, 2 insertions, 6 deletions
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 } |