aboutsummaryrefslogtreecommitdiff
path: root/notmuch-search.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-02-26 17:21:32 -0400
committerDavid Bremner <david@tethera.net>2017-03-22 08:35:07 -0300
commit86cbd215eb67d7b996c977352a50e70c101cb641 (patch)
tree2186342f5aa9f2d11c275eb30cfbbca5330e4fa2 /notmuch-search.c
parent1e982de508c39dae7a61403f536df74c180dfb72 (diff)
lib: replace deprecated n_q_search_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.
Diffstat (limited to 'notmuch-search.c')
-rw-r--r--notmuch-search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-search.c b/notmuch-search.c
index c6899ffa..1c4d5205 100644
--- a/notmuch-search.c
+++ b/notmuch-search.c
@@ -538,7 +538,7 @@ do_search_messages (search_context_t *ctx)
ctx->offset = 0;
}
- status = notmuch_query_search_messages_st (ctx->query, &messages);
+ status = notmuch_query_search_messages (ctx->query, &messages);
if (print_status_query ("notmuch search", ctx->query, status))
return 1;
@@ -629,7 +629,7 @@ do_search_tags (const search_context_t *ctx)
tags = notmuch_database_get_all_tags (notmuch);
} else {
notmuch_status_t status;
- status = notmuch_query_search_messages_st (query, &messages);
+ status = notmuch_query_search_messages (query, &messages);
if (print_status_query ("notmuch search", query, status))
return 1;