]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-show.c
lib: replace deprecated n_q_search_messages with status returning version
[notmuch] / notmuch-show.c
index 7451d5ab563cd03a33df05671d4efce5af7eb12c..ff8228fed1ef220a2e54e251f65849ce2615e0a8 100644 (file)
@@ -917,7 +917,7 @@ do_show_single (void *ctx,
        return 1;
     }
 
-    status = notmuch_query_search_messages_st (query, &messages);
+    status = notmuch_query_search_messages (query, &messages);
     if (print_status_query ("notmuch show", query, status))
        return 1;
 
@@ -947,7 +947,7 @@ do_show (void *ctx,
     notmuch_messages_t *messages;
     notmuch_status_t status, res = NOTMUCH_STATUS_SUCCESS;
 
-    status= notmuch_query_search_threads_st (query, &threads);
+    status= notmuch_query_search_threads (query, &threads);
     if (print_status_query ("notmuch show", query, status))
        return 1;