[geary/wip/794700-lazy-load-conversations: 8/19] Make Conversation.get_emails return a list, since it can be ordered



commit b7de2f63045e269cabf62c5a31511c36febcfe36
Author: Michael Gratton <mike vee net>
Date:   Wed Jan 16 14:47:44 2019 +1100

    Make Conversation.get_emails return a list, since it can be ordered

 src/engine/app/app-conversation.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/engine/app/app-conversation.vala b/src/engine/app/app-conversation.vala
index 931bfcce..63d52da8 100644
--- a/src/engine/app/app-conversation.vala
+++ b/src/engine/app/app-conversation.vala
@@ -181,14 +181,14 @@ public class Geary.App.Conversation : BaseObject {
     }
 
     /**
-     * Returns all the email in the conversation sorted and filtered according to the specifiers.
+     * Returns the conversation's email, possibly sorted and filtered.
      *
      * {@link Location.IN_FOLDER} and {@link Location.OUT_OF_FOLDER} are the
      * only preferences honored; the others ({@link Location.IN_FOLDER_OUT_OF_FOLDER},
      * {@link Location.IN_FOLDER_OUT_OF_FOLDER}, and {@link Location.ANYWHERE}
      * are all treated as ANYWHERE.
      */
-    public Gee.Collection<Email>
+    public Gee.List<Email>
         get_emails(Ordering ordering,
                    Location location = Location.ANYWHERE,
                    Gee.Collection<FolderPath>? blacklist = null) {


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