From 288feb7cdf1798408c708394fd935f05acf87985 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sun, 22 Apr 2012 14:07:56 +0200 Subject: ruby: Use notmuch_database_destroy instead of notmuch_database_close 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings/ruby') diff --git a/bindings/ruby/database.c b/bindings/ruby/database.c index 982fd592..ba9a1391 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; -- cgit v1.2.3