]> git.cworth.org Git - notmuch/blobdiff - bindings/ruby/message.c
ruby: add tags helper
[notmuch] / bindings / ruby / message.c
index f45c95cc5051d8475920c5a59bf07706e829e0be..81085f754648b5e650bd5fc51ceefee9bfef58bd 100644 (file)
@@ -221,7 +221,7 @@ notmuch_rb_message_get_tags (VALUE self)
     if (!tags)
        rb_raise (notmuch_rb_eMemoryError, "Out of memory");
 
-    return Data_Wrap_Notmuch_Object (notmuch_rb_cTags, &notmuch_rb_tags_type, tags);
+    return notmuch_rb_tags_get (tags);
 }
 
 /*