Error checking around CamelDB and CamelFolderSummary calls are virtually
non-existent, but that's a mess for another day. In the meantime, avoid
blindly passing GErrors where we don't bother checking for errors, since
that leads to GError overwrite warnings.
parent_store = camel_folder_get_parent_store (folder);
camel_folder_summary_save_to_db (folder->summary, NULL);
- uids = camel_db_get_folder_deleted_uids (parent_store->cdb_r, full_name, error);
+ uids = camel_db_get_folder_deleted_uids (parent_store->cdb_r, full_name, NULL);
if (uids && uids->len) {
CamelFolderChangeInfo *changes;
}
}
- camel_folder_summary_save_to_db (folder->summary, error);
+ camel_folder_summary_save_to_db (folder->summary, NULL);
camel_store_summary_save ((CamelStoreSummary *)((CamelIMAPXStore *) parent_store)->summary);
imapx_unregister_job (is, job);