diff options
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r-- | camel/camel-folder-summary.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index d3881f5857..f68c2a7970 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -521,6 +521,15 @@ void camel_folder_summary_remove_uid(CamelFolderSummary *s, const char *uid) } } +void camel_folder_summary_remove_index(CamelFolderSummary *s, int index) +{ + CamelMessageInfo *oldinfo; + + oldinfo = camel_folder_summary_index (s, index); + if (oldinfo) + camel_folder_summary_remove(s, oldinfo); +} + int camel_folder_summary_encode_uint32(FILE *out, guint32 value) { |