aboutsummaryrefslogtreecommitdiff
path: root/bindings/ruby/database.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2023-03-22 17:43:44 -0600
committerDavid Bremner <david@tethera.net>2023-04-02 19:00:49 -0300
commitae1336dea5cc6a221699fff260d8b44cee677f77 (patch)
treec4648b41e7d193c35d2c643ae006dbb7befcaff3 /bindings/ruby/database.c
parent6273966d0b50541a37a652ccf6113f184eff5300 (diff)
ruby: add tags helper
Right now it doesn't do much, but it will help for further reorganization. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'bindings/ruby/database.c')
-rw-r--r--bindings/ruby/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ruby/database.c b/bindings/ruby/database.c
index b6de1254..e6387f59 100644
--- a/bindings/ruby/database.c
+++ b/bindings/ruby/database.c
@@ -412,7 +412,7 @@ notmuch_rb_database_get_all_tags (VALUE self)
rb_raise (notmuch_rb_eBaseError, "%s", msg);
}
- return Data_Wrap_Notmuch_Object (notmuch_rb_cTags, &notmuch_rb_tags_type, tags);
+ return notmuch_rb_tags_get (tags);
}
/*