Geary.Account: Make new_search_query synchronous
Constructing a new query should be fast, and it no longer needs to be done async, so remove async from the method and simplify callers.
This commit is contained in:
parent
9cb3a0d98c
commit
9bd2359464
5 changed files with 17 additions and 26 deletions
|
|
@ -222,12 +222,11 @@ public class Mock.Account : Geary.Account,
|
|||
);
|
||||
}
|
||||
|
||||
public override async Geary.SearchQuery new_search_query(
|
||||
public override Geary.SearchQuery new_search_query(
|
||||
Gee.List<Geary.SearchQuery.Term> expression,
|
||||
string raw,
|
||||
GLib.Cancellable? cancellable
|
||||
string text
|
||||
) throws GLib.Error {
|
||||
return new SearchQuery(expression, raw);
|
||||
return new SearchQuery(expression, text);
|
||||
}
|
||||
|
||||
public override async Gee.Collection<Geary.EmailIdentifier>?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue