lib: replace deprecated n_q_search_messages with status returning version
[notmuch] / bindings / ruby / query.c
index 4b3f1c4f761a3c32f5101d299ed53bb1b3fea52e..2e36df6a05814a7feb18baef5f2e025fa021c1c8 100644 (file)
@@ -159,7 +159,7 @@ notmuch_rb_query_search_messages (VALUE self)
 
     Data_Get_Notmuch_Query (self, query);
 
 
     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);
 
     if (status)
        notmuch_rb_status_raise (status);