+2008-07-30 Srinivasa Ragavan <sragavan@novell.com>
+
+ * camel/providers/local/camel-local-folder.c: Move the folder lock to
+ provider. This is a very very ugly hack.
+
2008-07-29 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #545099
{
CamelLocalFolder *lf = (CamelLocalFolder *)folder;
+ /*
+ * Banner: This is a very very ugly hack to get over the summary mismatch. This needs to
+ * be done better. Im postponing this post-disk summary.
+ * */
+
+ CAMEL_FOLDER_REC_LOCK(folder, lock);
+
if (camel_local_summary_check((CamelLocalSummary *)folder->summary, lf->changes, ex) == -1)
return;
camel_object_trigger_event((CamelObject *)folder, "folder_changed", lf->changes);
camel_folder_change_info_clear(lf->changes);
}
+ CAMEL_FOLDER_REC_UNLOCK(folder, lock);
+
}
static void