aboutsummaryrefslogtreecommitdiff
path: root/bindings/ruby/query.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-02-26 17:21:34 -0400
committerDavid Bremner <david@tethera.net>2017-03-22 08:35:07 -0300
commit5ce8e0b11b40f733e6231d2067764e76717a341a (patch)
treeb58f3e8f804d2d06e7070be05c71941c342c38a3 /bindings/ruby/query.c
parent86cbd215eb67d7b996c977352a50e70c101cb641 (diff)
lib: replace deprecated n_q_count_messages 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. One or two remaining uses of the (removed) non-status returning version fixed at the same time
Diffstat (limited to 'bindings/ruby/query.c')
-rw-r--r--bindings/ruby/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ruby/query.c b/bindings/ruby/query.c
index 2e36df6a..b6edaef3 100644
--- a/bindings/ruby/query.c
+++ b/bindings/ruby/query.c
@@ -180,7 +180,7 @@ notmuch_rb_query_count_messages (VALUE self)
Data_Get_Notmuch_Query (self, query);
- status = notmuch_query_count_messages_st (query, &count);
+ status = notmuch_query_count_messages (query, &count);
if (status)
notmuch_rb_status_raise (status);