From 86cbd215eb67d7b996c977352a50e70c101cb641 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 26 Feb 2017 17:21:32 -0400 Subject: lib: replace deprecated n_q_search_messages with status returning version This function was deprecated in notmuch 0.21. We re-use the name for a status returning version, and deprecate the _st name. --- notmuch-count.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notmuch-count.c') diff --git a/notmuch-count.c b/notmuch-count.c index 35a2aa70..d3457bbe 100644 --- a/notmuch-count.c +++ b/notmuch-count.c @@ -43,7 +43,7 @@ count_files (notmuch_query_t *query) notmuch_status_t status; int count = 0; - status = notmuch_query_search_messages_st (query, &messages); + status = notmuch_query_search_messages (query, &messages); if (print_status_query ("notmuch count", query, status)) return -1; -- cgit v1.2.3