]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/query.py
lib: replace deprecated n_q_count_messages with status returning version
[notmuch] / bindings / python / notmuch / query.py
index a91bb74091c3392e3fe8f92f7641cf770f521bc9..10fb6dcce4d3b6450386c8008a46d882b243cbd9 100644 (file)
@@ -185,7 +185,7 @@ class Query(object):
             raise NullPointerError
         return Messages(msgs_p, self)
 
-    _count_messages = nmlib.notmuch_query_count_messages_st
+    _count_messages = nmlib.notmuch_query_count_messages
     _count_messages.argtypes = [NotmuchQueryP, POINTER(c_uint)]
     _count_messages.restype = c_uint