]> git.cworth.org Git - notmuch/blobdiff - lib/message.cc
lib: replace deprecated n_q_count_messages with status returning version
[notmuch] / lib / message.cc
index cb313326270e6bc3b0ba5813a5491269e5a62ebb..f8215a49f7dc93b482fb1d309b5ce8c68d6ba2f3 100644 (file)
@@ -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;