projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22f7373
)
ruby: Use notmuch_database_destroy instead of notmuch_database_close
author
Justus Winter
<4winter@informatik.uni-hamburg.de>
Sun, 22 Apr 2012 12:07:56 +0000
(14:07 +0200)
committer
David Bremner
<bremner@debian.org>
Sat, 28 Apr 2012 12:30:02 +0000
(09:30 -0300)
Adapt the ruby bindings to the notmuch_database_close split.
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
bindings/ruby/database.c
patch
|
blob
|
history
diff --git
a/bindings/ruby/database.c
b/bindings/ruby/database.c
index 982fd592951679edc445ea44ee362ffc8933e680..ba9a1391a50918f25ca2d1bc5921c4907666e11b 100644
(file)
--- 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;