aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 27ad27a51c..efc41e5907 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -229,7 +229,7 @@ real_fetch_mail (gpointer user_data )
CamelMimeMessage *msg;
printf("copying message %d to dest\n", i + 1);
- msg = camel_folder_get_message_by_uid (sourcefolder, uids->pdata[i], ex);
+ msg = camel_folder_get_message (sourcefolder, uids->pdata[i], ex);
if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE) {
async_mail_exception_dialog ("Unable to read message", ex, fb);
gtk_object_unref (GTK_OBJECT (msg));
@@ -245,7 +245,7 @@ real_fetch_mail (gpointer user_data )
goto cleanup;
}
- camel_folder_delete_message_by_uid (sourcefolder, uids->pdata[i], ex);
+ camel_folder_delete_message (sourcefolder, uids->pdata[i], ex);
gtk_object_unref(GTK_OBJECT (msg));
}
camel_folder_free_uids (sourcefolder, uids);