]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/query.py
lib: replace deprecated n_q_count_threads with status returning version
[notmuch] / bindings / python / notmuch / query.py
index 10fb6dcce4d3b6450386c8008a46d882b243cbd9..06c7b11bb8648de7488092c6c2d63efed3e13bf0 100644 (file)
@@ -204,7 +204,7 @@ class Query(object):
             raise NotmuchError(status)
         return count.value
 
-    _count_threads = nmlib.notmuch_query_count_threads_st
+    _count_threads = nmlib.notmuch_query_count_threads
     _count_threads.argtypes = [NotmuchQueryP, POINTER(c_uint)]
     _count_threads.restype = c_uint