patch-src_engine_imap-engine_imap-engine-minimal-folder_vala 1.1 KB

12345678910111213141516171819202122
  1. $OpenBSD: patch-src_engine_imap-engine_imap-engine-minimal-folder_vala,v 1.1 2017/04/13 07:10:21 jasper Exp $
  2. From 5a0b85e58639f5a9b9e2a1aa6b1882da6b2e6648 Mon Sep 17 00:00:00 2001
  3. From: Michael James Gratton <mike@vee.net>
  4. Date: Tue, 4 Oct 2016 00:06:54 +1100
  5. Subject: Fix compilation with valac git master.
  6. --- src/engine/imap-engine/imap-engine-minimal-folder.vala.orig Sun Dec 25 02:14:36 2016
  7. +++ src/engine/imap-engine/imap-engine-minimal-folder.vala Thu Apr 13 08:45:54 2017
  8. @@ -1412,8 +1412,9 @@ private class Geary.ImapEngine.MinimalFolder : Geary.F
  9. Geary.EmailFlags? flags_to_add, Geary.EmailFlags? flags_to_remove,
  10. Cancellable? cancellable = null) throws Error {
  11. check_open("mark_email_async");
  12. -
  13. - MarkEmail mark = new MarkEmail(this, to_mark, flags_to_add, flags_to_remove, cancellable);
  14. + check_ids("mark_email_async", to_mark);
  15. +
  16. + MarkEmail mark = new MarkEmail(this, (Gee.List<ImapDB.EmailIdentifier>) to_mark, flags_to_add, flags_to_remove, cancellable);
  17. replay_queue.schedule(mark);
  18. yield mark.wait_for_ready_async(cancellable);