From 5ce8e0b11b40f733e6231d2067764e76717a341a Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 26 Feb 2017 17:21:34 -0400 Subject: lib: replace deprecated n_q_count_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. One or two remaining uses of the (removed) non-status returning version fixed at the same time --- 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 d3457bbe..493be30f 100644 --- a/notmuch-count.c +++ b/notmuch-count.c @@ -92,7 +92,7 @@ print_count (notmuch_database_t *notmuch, const char *query_str, switch (output) { case OUTPUT_MESSAGES: - status = notmuch_query_count_messages_st (query, &ucount); + status = notmuch_query_count_messages (query, &ucount); if (print_status_query ("notmuch count", query, status)) return -1; printf ("%u", ucount); -- cgit v1.2.3