aboutsummaryrefslogtreecommitdiff
path: root/bindings/ruby/message.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2023-03-27 15:59:40 -0600
committerDavid Bremner <david@tethera.net>2023-04-12 07:05:23 -0300
commit777b02a7d7b922bcae08af1c16e475051ec7d8f3 (patch)
tree25308f0978cf513af0310ed1e973c33e7ba4afa7 /bindings/ruby/message.c
parenta554690d6af0ac8cb55166a20efd0f449abde389 (diff)
ruby: add filenames 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/message.c')
-rw-r--r--bindings/ruby/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ruby/message.c b/bindings/ruby/message.c
index 81085f75..13c182f6 100644
--- a/bindings/ruby/message.c
+++ b/bindings/ruby/message.c
@@ -120,7 +120,7 @@ notmuch_rb_message_get_filenames (VALUE self)
fnames = notmuch_message_get_filenames (message);
- return Data_Wrap_Notmuch_Object (notmuch_rb_cFileNames, &notmuch_rb_filenames_type, fnames);
+ return notmuch_rb_filenames_get (fnames);
}
/*