From d376deb02b02fd094a66f7b1495edade60257f95 Mon Sep 17 00:00:00 2001 From: bertrand Date: Thu, 16 Dec 1999 18:05:41 +0000 Subject: changed the return value. Now returns the list of expunged messages 1999-12-16 bertrand * 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 --- camel/camel-folder.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'camel/camel-folder.h') 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 */ -- cgit