diff options
| author | Felipe Contreras <felipe.contreras@gmail.com> | 2023-03-22 20:05:22 -0600 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-03-31 07:53:00 -0300 |
| commit | 83ea220178f771bf5a4f6e2f4fe3a3dd2e96676e (patch) | |
| tree | 770dfd870362ff19f06793c0b6a373de54258cd2 /bindings/ruby | |
| parent | a95959c491cc9ed7ca1493272b3fa91313f75041 (diff) | |
ruby: use database_open_with_config
Fixes warning:
warning: ‘notmuch_database_open’ is deprecated: function deprecated as of libnotmuch 5.4
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
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 9c3dbd96..a78d508b 100644 --- a/bindings/ruby/database.c +++ b/bindings/ruby/database.c @@ -91,7 +91,7 @@ notmuch_rb_database_initialize (int argc, VALUE *argv, VALUE self) if (create) ret = notmuch_database_create (path, &database); else - ret = notmuch_database_open (path, mode, &database); + ret = notmuch_database_open_with_config (path, mode, NULL, NULL, &database, NULL); notmuch_rb_status_raise (ret); DATA_PTR (self) = notmuch_rb_object_create (database, "notmuch_rb_database"); |
