diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-03 09:38:45 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-03 09:38:45 +0800 |
commit | 36765e48f24ad968a2bda97e7ee2056d9b91a4da (patch) | |
tree | 02019ab3fa399e944e0b0bc31cb96693eb03991d /mail/mail-ops.h | |
parent | d3cd60c2a009985c88175881d95880f8e524a768 (diff) | |
download | gsoc2013-evolution-36765e48f24ad968a2bda97e7ee2056d9b91a4da.tar.gz gsoc2013-evolution-36765e48f24ad968a2bda97e7ee2056d9b91a4da.tar.zst gsoc2013-evolution-36765e48f24ad968a2bda97e7ee2056d9b91a4da.zip |
Updated for the mail_transfer_messages API.
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (transfer_msg): Updated for the
mail_transfer_messages API.
* folder-browser.c (message_list_drag_data_recieved): Update for
the mail_transfer_messages API.
(selection_received): Same.
* mail-ops.c (mail_transfer_messages): Renamed from
mail_do_transfer_messages and also added a callback/data arguments
since we need it component_factory::xfer_folder.
* component-factory.c (xfer_folder): Use mail_transfer_messages
instead.
(destination_folder_handle_drop): Update to pass in a NULL
callback arg and a NULL data argument to mail_transfer_messages.
svn path=/trunk/; revision=10710
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r-- | mail/mail-ops.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h index a7b777116c..7d00ec85da 100644 --- a/mail/mail-ops.h +++ b/mail/mail-ops.h @@ -43,9 +43,11 @@ void mail_append_mail (CamelFolder *folder, CamelMimeMessage *message, CamelMess void (*done)(CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *info, int ok, void *data), void *data); -void mail_do_transfer_messages (CamelFolder *source, GPtrArray *uids, - gboolean delete_from_source, - const char *dest_uri); +void mail_transfer_messages (CamelFolder *source, GPtrArray *uids, + gboolean delete_from_source, + const char *dest_uri, + void (*done) (gboolean ok, void *data), + void *data); /* get a single message, asynchronously */ void mail_get_message (CamelFolder *folder, const char *uid, |