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/message-list.c | |
parent | 8c845a7e3266d7eaf3690529ec343052c187b021 (diff) | |
download | gsoc2013-evolution-e1ecbdf489712e3229d99facead6ffc7b540097e.tar.gz 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/message-list.c')
-rw-r--r-- | mail/message-list.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 0bac0259e0..92cdd429c6 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -152,11 +152,10 @@ mark_msg_seen (gpointer data) if (!ml->cursor_uid) return FALSE; - flags = camel_folder_get_message_flags (ml->folder, ml->cursor_uid, - NULL); + flags = camel_folder_get_message_flags (ml->folder, ml->cursor_uid); camel_folder_set_message_flags (ml->folder, ml->cursor_uid, - CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_SEEN, - NULL); + CAMEL_MESSAGE_SEEN, + CAMEL_MESSAGE_SEEN); return FALSE; } @@ -320,8 +319,7 @@ ml_tree_set_value_at (ETreeModel *etm, ETreePath *path, int col, return; camel_folder_set_message_flags (message_list->folder, msg_info->uid, - CAMEL_MESSAGE_SEEN, - ~(msg_info->flags), NULL); + CAMEL_MESSAGE_SEEN, ~msg_info->flags); if (message_list->seen_id) { gtk_timeout_remove (message_list->seen_id); message_list->seen_id = 0; @@ -826,7 +824,7 @@ message_list_regenerate (MessageList *message_list, const char *search) } else message_list->search = g_strdup (search); } else - uids = camel_folder_get_uids (message_list->folder, NULL); + uids = camel_folder_get_uids (message_list->folder); /* FIXME: free the old tree data */ |