aboutsummaryrefslogtreecommitdiff
path: root/lib/message.cc
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 /lib/message.cc
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 'lib/message.cc')
-rw-r--r--lib/message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/message.cc b/lib/message.cc
index cb313326..f8215a49 100644
--- a/lib/message.cc
+++ b/lib/message.cc
@@ -1129,7 +1129,7 @@ _notmuch_message_delete (notmuch_message_t *message)
query = notmuch_query_create (notmuch, query_string);
if (query == NULL)
return NOTMUCH_STATUS_OUT_OF_MEMORY;
- status = notmuch_query_count_messages_st (query, &count);
+ status = notmuch_query_count_messages (query, &count);
if (status) {
notmuch_query_destroy (query);
return status;