]> git.notmuchmail.org Git - notmuch/commitdiff
ruby: fix missing symbol UINT2FIX()
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 20 May 2013 12:24:24 +0000 (07:24 -0500)
committerDavid Bremner <bremner@debian.org>
Thu, 23 May 2013 11:03:58 +0000 (08:03 -0300)
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>
bindings/ruby/query.c

index e5ba1b7ab7b567027f6037304d9e994ca443c816..1658edee4dac046e7bcc9f95e751ef77f9cee9da 100644 (file)
@@ -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));
 }