aboutsummaryrefslogtreecommitdiff
path: root/bindings/ruby
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-08-27 15:54:50 -0300
committerDavid Bremner <david@tethera.net>2017-08-27 15:54:50 -0300
commita565f71e1c160431ff99f088bc8fc08d367603a2 (patch)
tree2f7c33d7296e15b2c33f6ede436d412c812c3f15 /bindings/ruby
parent00f87faf4bc19e90e19b8b27c13845efb6a68152 (diff)
parent6354745dcd6505c5f12c185a29c25a8d1c240595 (diff)
Merge tag 'debian/0.25-6' into debian/stretch-backports
Diffstat (limited to 'bindings/ruby')
-rw-r--r--bindings/ruby/extconf.rb2
-rw-r--r--bindings/ruby/query.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb
index ddaa6841..161de5a2 100644
--- a/bindings/ruby/extconf.rb
+++ b/bindings/ruby/extconf.rb
@@ -5,7 +5,7 @@
require 'mkmf'
-dir = File.join('..', '..', 'lib')
+dir = File.join(ENV['NOTMUCH_SRCDIR'], 'lib')
# includes
$INCFLAGS = "-I#{dir} #{$INCFLAGS}"
diff --git a/bindings/ruby/query.c b/bindings/ruby/query.c
index ce66926c..8b46d700 100644
--- a/bindings/ruby/query.c
+++ b/bindings/ruby/query.c
@@ -138,7 +138,7 @@ notmuch_rb_query_search_threads (VALUE self)
Data_Get_Notmuch_Query (self, query);
- status = notmuch_query_search_threads_st (query, &threads);
+ status = notmuch_query_search_threads (query, &threads);
if (status)
notmuch_rb_status_raise (status);
@@ -159,7 +159,7 @@ notmuch_rb_query_search_messages (VALUE self)
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);
@@ -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);
@@ -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);