diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-12-17 02:05:41 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-12-17 02:05:41 +0800 |
commit | d376deb02b02fd094a66f7b1495edade60257f95 (patch) | |
tree | 4181e3475385a599698dca1b3ab9500876c12d41 /camel/camel-folder-utils.c | |
parent | 6bd8382bd68ada82117064bc3576c4b8374cfc04 (diff) | |
download | gsoc2013-evolution-d376deb02b02fd094a66f7b1495edade60257f95.tar gsoc2013-evolution-d376deb02b02fd094a66f7b1495edade60257f95.tar.gz gsoc2013-evolution-d376deb02b02fd094a66f7b1495edade60257f95.tar.bz2 gsoc2013-evolution-d376deb02b02fd094a66f7b1495edade60257f95.tar.lz gsoc2013-evolution-d376deb02b02fd094a66f7b1495edade60257f95.tar.xz gsoc2013-evolution-d376deb02b02fd094a66f7b1495edade60257f95.tar.zst gsoc2013-evolution-d376deb02b02fd094a66f7b1495edade60257f95.zip |
changed the return value. Now returns the list of expunged messages
1999-12-16 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder.c (camel_folder_expunge):
(_expunge):
* camel/camel-folder-pt-proxy.c (_expunge):
changed the return value. Now returns the list
of expunged messages
* camel/camel-folder.c (_init_with_store):
cleaned up. Use the exception system now.
(_open): ditto.
(camel_folder_open): ditto.
(camel_folder_open_async): ditto.
(_close): ditto.
(camel_folder_close): ditto.
(camel_folder_close_async): ditto.
* camel/camel-exception.c (camel_exception_set):
When no exception is given, do nothing, just
return.
(camel_exception_set): documented.
(camel_exception_new): idem.
(camel_exception_free): idem.
(camel_exception_xfer): idem.
* camel/camel-folder.c:
* camel/camel-folder.h: more clean-ups.
Removed message list related code.
This was braindead design.
svn path=/trunk/; revision=1494
Diffstat (limited to 'camel/camel-folder-utils.c')
-rw-r--r-- | camel/camel-folder-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-folder-utils.c b/camel/camel-folder-utils.c index e8459134ba..a7f7aa8cc2 100644 --- a/camel/camel-folder-utils.c +++ b/camel/camel-folder-utils.c @@ -69,8 +69,8 @@ camel_aml_expunge_messages (GList *aml, guint nb_expunged = 0; GList *expunged_messages; - message_node = folder->message_list; + message_node = aml; /* look in folder message list which messages * need to be expunged */ while ( message_node) { @@ -83,7 +83,7 @@ camel_aml_expunge_messages (GList *aml, if (camel_mime_message_get_flag (message, "DELETED")) { /* remove the message from active message list */ - g_list_remove_link (folder->message_list, message_node); + g_list_remove_link (aml, message_node); g_list_free_1 (message_node); camel_mime_message_set_flag (message, "EXPUNGED", TRUE); expunged_messages = g_list_prepend (expunged_messages, message); |