30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
Index: camel/providers/groupwise/camel-groupwise-summary.c
|
|
===================================================================
|
|
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-summary.c,v
|
|
retrieving revision 1.10
|
|
retrieving revision 1.11
|
|
diff -u -p -r1.10 -r1.11
|
|
--- camel/providers/groupwise/camel-groupwise-summary.c 9 Nov 2005 14:23:44 -0000 1.10
|
|
+++ camel/providers/groupwise/camel-groupwise-summary.c 20 Apr 2006 07:47:21 -0000 1.11
|
|
@@ -330,15 +330,17 @@ groupwise_summary_clear (CamelFolderSumm
|
|
CamelFolderChangeInfo *changes;
|
|
CamelMessageInfo *info;
|
|
int i, count;
|
|
+ const char *uid;
|
|
|
|
changes = camel_folder_change_info_new ();
|
|
count = camel_folder_summary_count (summary);
|
|
for (i = 0; i < count; i++) {
|
|
if (!(info = camel_folder_summary_index (summary, i)))
|
|
continue;
|
|
-
|
|
- camel_folder_change_info_remove_uid (changes, camel_message_info_uid (info));
|
|
- camel_folder_summary_remove(summary, info);
|
|
+
|
|
+ uid = camel_message_info_uid (info);
|
|
+ camel_folder_change_info_remove_uid (changes, uid);
|
|
+ camel_folder_summary_remove_uid (summary, uid);
|
|
camel_message_info_free(info);
|
|
}
|
|
|