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>
This commit is contained in:
Justus Winter 2012-04-22 14:07:56 +02:00 committed by David Bremner
parent 22f73735c5
commit 288feb7cdf

View file

@ -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;