summaryrefslogtreecommitdiffstats
path: root/notmuch-search.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-02-26 17:21:34 -0400
committerDavid Bremner <david@tethera.net>2017-03-22 08:35:07 -0300
commit5ce8e0b11b40f733e6231d2067764e76717a341a (patch)
treeb58f3e8f804d2d06e7070be05c71941c342c38a3 /notmuch-search.c
parent86cbd215eb67d7b996c977352a50e70c101cb641 (diff)
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
Diffstat (limited to 'notmuch-search.c')
-rw-r--r--notmuch-search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-search.c b/notmuch-search.c
index 1c4d5205..71218fdd 100644
--- a/notmuch-search.c
+++ b/notmuch-search.c
@@ -529,7 +529,7 @@ do_search_messages (search_context_t *ctx)
if (ctx->offset < 0) {
unsigned count;
notmuch_status_t status;
- status = notmuch_query_count_messages_st (ctx->query, &count);
+ status = notmuch_query_count_messages (ctx->query, &count);
if (print_status_query ("notmuch search", ctx->query, status))
return 1;