diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2012-04-22 14:07:56 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-04-28 09:30:02 -0300 |
commit | 288feb7cdf1798408c708394fd935f05acf87985 (patch) | |
tree | c1ca5d6c64a4da236c39ea141397723499de0094 /bindings/ruby | |
parent | 22f73735c5d86cb10dc59ca536b9a73ade72eaea (diff) |
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>
Diffstat (limited to 'bindings/ruby')
-rw-r--r-- | 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 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; |