aboutsummaryrefslogtreecommitdiffhomepage
path: root/message.cc
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-26 06:00:07 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-26 06:00:07 -0700
commit789495919aaaba47040faded49276b217068c6af (patch)
tree1f3385c503ebe82d47037edf13b752bdb2851fa9 /message.cc
parent2affed0851d85a08f6b0700f7128f97cae6b6024 (diff)
Hide away the details of the implementation of notmuch_tags_t.
We will soon be wanting multiple different implementations of notmuch_tags_t iterators, so we need to keep the actual structure as an implementation detail inside of tags.cc.
Diffstat (limited to 'message.cc')
-rw-r--r--message.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/message.cc b/message.cc
index f3e39b4b..7fef60a5 100644
--- a/message.cc
+++ b/message.cc
@@ -289,8 +289,7 @@ notmuch_message_get_filename (notmuch_message_t *message)
notmuch_tags_t *
notmuch_message_get_tags (notmuch_message_t *message)
{
- return _notmuch_terms_create_type (message, message->doc, "tag",
- notmuch_tags_t);
+ return _notmuch_tags_create_terms (message, message->doc, "tag");
}
void