From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sun, 22 Apr 2012 12:07:56 +0000 (+0200) Subject: ruby: Use notmuch_database_destroy instead of notmuch_database_close X-Git-Tag: 0.13_rc1~59 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=288feb7cdf1798408c708394fd935f05acf87985 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> --- 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;