summaryrefslogtreecommitdiffstats
path: root/notmuch-count.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-02-26 17:21:35 -0400
committerDavid Bremner <david@tethera.net>2017-03-22 08:35:07 -0300
commit3721bd45d72e50436ee760b03ae533d49bbb8724 (patch)
tree7d989a019989f5eded02951a8ccb36fba2b82b00 /notmuch-count.c
parent5ce8e0b11b40f733e6231d2067764e76717a341a (diff)
lib: replace deprecated n_q_count_threads 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.
Diffstat (limited to 'notmuch-count.c')
-rw-r--r--notmuch-count.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-count.c b/notmuch-count.c
index 493be30f..cf80ee25 100644
--- a/notmuch-count.c
+++ b/notmuch-count.c
@@ -98,7 +98,7 @@ print_count (notmuch_database_t *notmuch, const char *query_str,
printf ("%u", ucount);
break;
case OUTPUT_THREADS:
- status = notmuch_query_count_threads_st (query, &ucount);
+ status = notmuch_query_count_threads (query, &ucount);
if (print_status_query ("notmuch count", query, status))
return -1;
printf ("%u", ucount);