]> git.notmuchmail.org Git - notmuch/commitdiff
Nuke the remainings of _notmuch_message_add_thread_id.
authorFernando Carrijo <fcarrijo@yahoo.com.br>
Wed, 9 Dec 2009 19:09:01 +0000 (17:09 -0200)
committerCarl Worth <cworth@cworth.org>
Wed, 9 Dec 2009 20:09:55 +0000 (12:09 -0800)
The function _notmuch_message_add_thread_id has been removed
from the private interface of notmuch. There's no reason for
one to keep a declaration of its prototype in the code base.
Also, lets update a commentary that referenced that function
and escaped from previous scrutiny.

Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
lib/database.cc
lib/notmuch-private.h

index 23ddd4ae1314b2186b7839364b06cc0d25b5a575..b6c4d07b794eb37ccdb73b68a31c993fc2326be8 100644 (file)
@@ -855,12 +855,11 @@ _notmuch_database_link_message_to_children (notmuch_database_t *notmuch,
  *
  * We first look at 'message_file' and its link-relevant headers
  * (References and In-Reply-To) for message IDs. We also look in the
  *
  * We first look at 'message_file' and its link-relevant headers
  * (References and In-Reply-To) for message IDs. We also look in the
- * database for existing message that reference 'message'.p
+ * database for existing message that reference 'message'.
  *
  *
- * The end result is to call _notmuch_message_add_thread_id with one
- * or more thread IDs to which this message belongs, (including
- * generating a new thread ID if necessary if the message doesn't
- * connect to any existing threads).
+ * The end result is to call _notmuch_message_ensure_thread_id which
+ * generates a new thread ID if the message doesn't connect to any
+ * existing threads.
  */
 static notmuch_status_t
 _notmuch_database_link_message (notmuch_database_t *notmuch,
  */
 static notmuch_status_t
 _notmuch_database_link_message (notmuch_database_t *notmuch,
index 0c340a769fc005d9b98c1b46a36c77492dcc6c72..116f63d6463e251f36e5f63a12fa72589466d03e 100644 (file)
@@ -193,10 +193,6 @@ void
 _notmuch_message_set_filename (notmuch_message_t *message,
                               const char *filename);
 
 _notmuch_message_set_filename (notmuch_message_t *message,
                               const char *filename);
 
-void
-_notmuch_message_add_thread_id (notmuch_message_t *message,
-                               const char *thread_id);
-
 void
 _notmuch_message_ensure_thread_id (notmuch_message_t *message);
 
 void
 _notmuch_message_ensure_thread_id (notmuch_message_t *message);