]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/ruby/query.c
lib: replace deprecated n_q_search_messages with status returning version
[notmuch] / bindings / ruby / query.c
index ce66926cfe7428b0c825fcb388d69d898f332aa4..2e36df6a05814a7feb18baef5f2e025fa021c1c8 100644 (file)
@@ -138,7 +138,7 @@ notmuch_rb_query_search_threads (VALUE self)
 
     Data_Get_Notmuch_Query (self, query);
 
-    status = notmuch_query_search_threads_st (query, &threads);
+    status = notmuch_query_search_threads (query, &threads);
     if (status)
        notmuch_rb_status_raise (status);
 
@@ -159,7 +159,7 @@ notmuch_rb_query_search_messages (VALUE self)
 
     Data_Get_Notmuch_Query (self, query);
 
-    status = notmuch_query_search_messages_st (query, &messages);
+    status = notmuch_query_search_messages (query, &messages);
     if (status)
        notmuch_rb_status_raise (status);