From 36765e48f24ad968a2bda97e7ee2056d9b91a4da Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 3 Jul 2001 01:38:45 +0000 Subject: Updated for the mail_transfer_messages API. 2001-07-02 Jeffrey Stedfast * 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 --- mail/folder-browser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mail/folder-browser.c') diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 85a9084d68..fca23c8f2f 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -465,7 +465,8 @@ message_list_drag_data_recieved (ETree *tree, int row, ETreePath path, int col, goto fail; } - mail_do_transfer_messages (folder, uids, context->action == GDK_ACTION_MOVE, fb->uri); + mail_transfer_messages (folder, uids, context->action == GDK_ACTION_MOVE, + fb->uri, NULL, NULL); camel_object_unref (CAMEL_OBJECT (folder)); break; @@ -519,7 +520,7 @@ selection_received (GtkWidget *widget, GtkSelectionData *selection_data, return; } - mail_do_transfer_messages (source, uids, FALSE, fb->uri); + mail_transfer_messages (source, uids, FALSE, fb->uri, NULL, NULL); camel_object_unref (CAMEL_OBJECT (source)); } -- cgit