diff options
author | Dan Winship <danw@src.gnome.org> | 2000-09-22 05:05:56 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-09-22 05:05:56 +0800 |
commit | 3af120103084dec827ae3026da10adb67fd89a79 (patch) | |
tree | 972a56ffdb6b2e7148c0c1b993093a765e415a56 /ui | |
parent | 08a52d10bc6dd001c42ebf3303b71460e9785210 (diff) | |
download | gsoc2013-evolution-3af120103084dec827ae3026da10adb67fd89a79.tar.gz gsoc2013-evolution-3af120103084dec827ae3026da10adb67fd89a79.tar.zst gsoc2013-evolution-3af120103084dec827ae3026da10adb67fd89a79.zip |
New function to convert Camel flags to an IMAP flag_list.
* providers/imap/camel-imap-utils.c (imap_create_flag_list): New
function to convert Camel flags to an IMAP flag_list.
(imap_parse_flag_list): Contrariwise.
* providers/imap/camel-imap-store.c (camel_imap_command_*): Make
the @ret arg actually optional, as (mostly) documented.
(various): Don't pass "&result" to camel_imap_command_* if we're
just going to immediately free it. Don't record status if we're
not going to look at it.
* providers/imap/camel-imap-folder.c: Likewise.
(imap_summary_free): Use camel_folder_info_free.
(imap_sync): Use imap_create_flag_list. Clear
CAMEL_MESSAGE_FOLDER_FLAGGED after syncing so we don't keep
re-syncing.
(imap_append_message): Use imap_create_flag_list. Don't leak the
memstream if the append fails.
(imap_move_message_to): Use camel_folder_delete_message rather
than doing it by hand.
(imap_get_summary_internal, imap_get_message_info_internal): Use
imap_parse_flag_list and header_raw_clear.
(camel_imap_folder_changed): Use camel_message_info_free.
svn path=/trunk/; revision=5544
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions