From ef3ab5781a3730e019f92517366029540a960cd0 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 26 Oct 2009 14:12:56 -0700 Subject: tags: Replace sort() and reset() with prepare_iterator(). The previous functions were always called together, so we might as well just have one function for this. Also, the reset() name was poor, and prepare_iterator() is much more descriptive. --- message.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'message.cc') diff --git a/message.cc b/message.cc index b95f9d7..66dfc80 100644 --- a/message.cc +++ b/message.cc @@ -318,9 +318,7 @@ notmuch_message_get_tags (notmuch_message_t *message) i++; } - _notmuch_tags_sort (tags); - - _notmuch_tags_reset (tags); + _notmuch_tags_prepare_iterator (tags); return tags; } -- cgit v1.2.3