aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings
diff options
context:
space:
mode:
authorGravatar Felipe Contreras <felipe.contreras@gmail.com>2013-05-20 07:24:24 -0500
committerGravatar David Bremner <bremner@debian.org>2013-05-23 08:03:58 -0300
commited9ef5dc5a281fd1a3a9bba235ef297f6496e24d (patch)
tree212730293b0ac68a7c3817ed6d2b2936db574fb1 /bindings
parent71e1522da469d7034e97701c4169f5999bff4cef (diff)
ruby: fix missing symbol UINT2FIX()
It has never existed in Ruby (maybe JRuby). Fortunately the symbols are loaded lazily, so nobody would notice unless they try 'query::count_messages'. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'bindings')
-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 e5ba1b7a..1658edee 100644
--- a/bindings/ruby/query.c
+++ b/bindings/ruby/query.c
@@ -180,5 +180,5 @@ notmuch_rb_query_count_messages (VALUE self)
* (function may return 0 after printing a message)
* Thus there is nothing we can do here...
*/
- return UINT2FIX(notmuch_query_count_messages(query));
+ return UINT2NUM(notmuch_query_count_messages(query));
}