diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-25 10:47:18 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-25 10:47:18 +0800 |
commit | e1ecbdf489712e3229d99facead6ffc7b540097e (patch) | |
tree | 3ccd1307f4487e351e23ad9d7be94599b7e53713 /mail/mail-ops.c | |
parent | 8c845a7e3266d7eaf3690529ec343052c187b021 (diff) | |
download | gsoc2013-evolution-e1ecbdf489712e3229d99facead6ffc7b540097e.tar gsoc2013-evolution-e1ecbdf489712e3229d99facead6ffc7b540097e.tar.gz gsoc2013-evolution-e1ecbdf489712e3229d99facead6ffc7b540097e.tar.bz2 gsoc2013-evolution-e1ecbdf489712e3229d99facead6ffc7b540097e.tar.lz gsoc2013-evolution-e1ecbdf489712e3229d99facead6ffc7b540097e.tar.xz gsoc2013-evolution-e1ecbdf489712e3229d99facead6ffc7b540097e.tar.zst gsoc2013-evolution-e1ecbdf489712e3229d99facead6ffc7b540097e.zip |
Update for CamelFolder API changes. (Certain functions no longer take a
* message-list.c (mark_msg_seen, ml_tree_set_value_at,
message_list_regenerate): Update for CamelFolder API changes.
(Certain functions no longer take a CamelException.)
* mail-ops.c (real_fetch_mail, real_send_mail, real_delete_msg):
ditto
* component-factory.c (real_create_imap_storage,
real_create_news_storage): ditto
svn path=/trunk/; revision=4305
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index c28564aad8..5fa1f0953b 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -240,7 +240,7 @@ real_fetch_mail (gpointer user_data) goto cleanup; } - uids = camel_folder_get_uids (sourcefolder, ex); + uids = camel_folder_get_uids (sourcefolder); printf("got %d messages in source\n", uids->len); for (i = 0; i < uids->len; i++) { CamelMimeMessage *msg; @@ -265,7 +265,7 @@ real_fetch_mail (gpointer user_data) goto cleanup; } - camel_folder_delete_message (sourcefolder, uids->pdata[i], ex); + camel_folder_delete_message (sourcefolder, uids->pdata[i]); gtk_object_unref (GTK_OBJECT (msg)); } camel_folder_free_uids (sourcefolder, uids); @@ -278,7 +278,7 @@ real_fetch_mail (gpointer user_data) } } - if (camel_folder_get_message_count (folder, ex) == 0) { + if (camel_folder_get_message_count (folder) == 0) { gnome_ok_dialog ("No new messages."); goto cleanup; } else if (camel_exception_is_set (ex)) { @@ -460,8 +460,7 @@ real_send_mail (gpointer user_data) } else { if (psd) { camel_folder_set_message_flags (psd->folder, psd->uid, - psd->flags, psd->flags, - ex); + psd->flags, psd->flags); } info->ok = TRUE; @@ -808,10 +807,9 @@ real_delete_msg (MessageList *ml, const char *uid, gpointer user_data) return; /* Toggle the deleted flag without touching other flags. */ - flags = camel_folder_get_message_flags (ml->folder, uid, ex); + flags = camel_folder_get_message_flags (ml->folder, uid); camel_folder_set_message_flags (ml->folder, uid, - CAMEL_MESSAGE_DELETED, - ~flags, ex); + CAMEL_MESSAGE_DELETED, ~flags); } void |