[geary/wip/composer-folks] Trivial code cleanup



commit 3ffa7dcd2585f842a958e55bf0c1b43160dae8f3
Author: Michael Gratton <mike vee net>
Date:   Sat Jun 22 16:50:10 2019 +1000

    Trivial code cleanup

 src/engine/common/common-contact-store-impl.vala | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/src/engine/common/common-contact-store-impl.vala 
b/src/engine/common/common-contact-store-impl.vala
index 912fee2e..1ac675f0 100644
--- a/src/engine/common/common-contact-store-impl.vala
+++ b/src/engine/common/common-contact-store-impl.vala
@@ -43,7 +43,7 @@ internal class Geary.ContactStoreImpl : BaseObject, Geary.ContactStore {
         yield this.backing.exec_transaction_async(
             Db.TransactionType.RO,
             (cx, cancellable) => {
-                contacts = do_search_contact(
+                contacts = do_search_contacts(
                     cx, query, min_importance, limit, cancellable
                 );
                 return Db.TransactionOutcome.COMMIT;
@@ -91,11 +91,12 @@ internal class Geary.ContactStoreImpl : BaseObject, Geary.ContactStore {
         return contact;
     }
 
-    private Gee.Collection<Contact> do_search_contact(Db.Connection cx,
-                                                      string query,
-                                                      uint min_importance,
-                                                      uint limit,
-                                                      GLib.Cancellable? cancellable)
+    private Gee.Collection<Contact>
+        do_search_contacts(Db.Connection cx,
+                           string query,
+                           uint min_importance,
+                           uint limit,
+                           GLib.Cancellable? cancellable)
         throws GLib.Error {
         Gee.Collection<Contact> contacts = new Gee.LinkedList<Contact>();
         string normalised_query = Geary.Db.normalise_case_insensitive_query(query);


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