diff options
| author | David Bremner <david@tethera.net> | 2017-02-26 17:21:35 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-03-22 08:35:07 -0300 |
| commit | 3721bd45d72e50436ee760b03ae533d49bbb8724 (patch) | |
| tree | 7d989a019989f5eded02951a8ccb36fba2b82b00 /bindings | |
| parent | 5ce8e0b11b40f733e6231d2067764e76717a341a (diff) | |
lib: replace deprecated n_q_count_threads with status returning version
This function was deprecated in notmuch 0.21. We re-use the name for
a status returning version, and deprecate the _st name.
Diffstat (limited to 'bindings')
| -rw-r--r-- | bindings/python/notmuch/query.py | 2 | ||||
| -rw-r--r-- | bindings/ruby/query.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bindings/python/notmuch/query.py b/bindings/python/notmuch/query.py index 10fb6dcc..06c7b11b 100644 --- a/bindings/python/notmuch/query.py +++ b/bindings/python/notmuch/query.py @@ -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 diff --git a/bindings/ruby/query.c b/bindings/ruby/query.c index b6edaef3..8b46d700 100644 --- a/bindings/ruby/query.c +++ b/bindings/ruby/query.c @@ -201,7 +201,7 @@ notmuch_rb_query_count_threads (VALUE self) Data_Get_Notmuch_Query (self, query); - status = notmuch_query_count_threads_st (query, &count); + status = notmuch_query_count_threads (query, &count); if (status) notmuch_rb_status_raise (status); |
