[evolution-data-server] CamelStoreSummary: Fix a boo boo.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] CamelStoreSummary: Fix a boo boo.
- Date: Fri, 16 Aug 2013 21:32:01 +0000 (UTC)
commit 09571cade36fed1e61724b6a3808a72bd373f467
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Aug 16 17:32:39 2013 -0400
CamelStoreSummary: Fix a boo boo.
Don't throw away CamelStoreInfo flags, those are kind of important.
camel/camel-store-summary.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/camel/camel-store-summary.c b/camel/camel-store-summary.c
index 5f49c69..6a4be09 100644
--- a/camel/camel-store-summary.c
+++ b/camel/camel-store-summary.c
@@ -186,15 +186,13 @@ store_summary_store_info_load (CamelStoreSummary *summary,
FILE *in)
{
CamelStoreInfo *info;
- guint32 flags;
info = camel_store_summary_info_new (summary);
io (printf ("Loading folder info\n"));
- /* XXX The flags value is legacy; not used for anything. */
if (camel_file_util_decode_string (in, &info->path) == -1 ||
- camel_file_util_decode_uint32 (in, &flags) == -1 ||
+ camel_file_util_decode_uint32 (in, &info->flags) == -1 ||
camel_file_util_decode_uint32 (in, &info->unread) == -1 ||
camel_file_util_decode_uint32 (in, &info->total) == -1) {
camel_store_summary_info_unref (summary, info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]