[PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

Subject: [PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

Date: Wed, 21 Mar 2012 01:55:10 +0100

To: notmuch@notmuchmail.org

Cc:

From: Justus Winter


Adapt the ruby bindings to the notmuch_database_close split.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
---
 bindings/ruby/database.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bindings/ruby/database.c b/bindings/ruby/database.c
index 982fd59..ba9a139 100644
--- a/bindings/ruby/database.c
+++ b/bindings/ruby/database.c
@@ -110,7 +110,7 @@ notmuch_rb_database_close (VALUE self)
     notmuch_database_t *db;
 
     Data_Get_Notmuch_Database (self, db);
-    notmuch_database_close (db);
+    notmuch_database_destroy (db);
     DATA_PTR (self) = NULL;
 
     return Qnil;
-- 
1.7.9.1


Thread: