[geary/wip/iterate-723208: 9/9] Fix last usage of SingleItem from master



commit e8238561b6e1e6d04c8dbfb7dc007b77a0afc660
Author: Charles Lindsay <chaz yorba org>
Date:   Wed Jan 29 18:32:02 2014 -0800

    Fix last usage of SingleItem from master

 src/engine/imap/api/imap-folder.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/engine/imap/api/imap-folder.vala b/src/engine/imap/api/imap-folder.vala
index 8539917..4a41df9 100644
--- a/src/engine/imap/api/imap-folder.vala
+++ b/src/engine/imap/api/imap-folder.vala
@@ -888,7 +888,7 @@ private class Geary.Imap.Folder : BaseObject {
             Imap.EmailFlags imap_flags = Imap.EmailFlags.from_api_email_flags(flags);
             msg_flags = imap_flags.message_flags;
         } else {
-            msg_flags = new MessageFlags(new Geary.Collection.SingleItem<MessageFlag>(MessageFlag.SEEN));
+            msg_flags = new MessageFlags(Geary.iterate<MessageFlag>(MessageFlag.SEEN).to_array_list());
         }
         
         InternalDate? internaldate = null;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]