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.h | |
parent | 6bd8382bd68ada82117064bc3576c4b8374cfc04 (diff) | |
download | gsoc2013-evolution-d376deb02b02fd094a66f7b1495edade60257f95.tar.gz 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.h')
-rw-r--r-- | camel/camel-folder.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h index 0146ae6325..77eb212888 100644 --- a/camel/camel-folder.h +++ b/camel/camel-folder.h @@ -81,8 +81,6 @@ struct _CamelFolder gboolean has_uid_capability; - GList *message_list; - }; @@ -165,7 +163,7 @@ typedef struct { GList * (*list_subfolders) (CamelFolder *folder, CamelException *ex); - void (*expunge) (CamelFolder *folder, + GList * (*expunge) (CamelFolder *folder, CamelException *ex); gboolean (*has_message_number_capability) (CamelFolder *folder, CamelException *ex); @@ -243,7 +241,7 @@ GList *camel_folder_list_subfolders (CamelFolder *folder, CamelException *ex); /* delete operations */ gboolean camel_folder_delete (CamelFolder *folder, gboolean recurse, CamelException *ex); gboolean camel_folder_delete_messages (CamelFolder *folder, CamelException *ex); -void camel_folder_expunge (CamelFolder *folder, CamelException *ex); +GList *camel_folder_expunge (CamelFolder *folder, CamelException *ex); /* folder name manipulation operations */ |