diff options
author | Charles Celerier <cceleri@cs.stanford.edu> | 2014-05-13 05:44:05 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-07-13 12:25:29 -0300 |
commit | df8885f62c13f77b2b16cbb211e3a727945870b0 (patch) | |
tree | 790fe4568e71a463879efd01ba48efa2ad395a26 /lib/thread.cc | |
parent | c2d8236b56e713ae2e7053c9ea3cc13f7d1283c4 (diff) |
lib: Start all function names in notmuch-private.h with
As noted in devel/STYLE, every private library function should start
with _notmuch. This patch corrects function naming that did not adhere
to this style in lib/notmuch-private.h. In particular, the old function
names that now begin with _notmuch are
notmuch_sha1_of_file
notmuch_sha1_of_string
notmuch_message_file_close
notmuch_message_file_get_header
notmuch_message_file_open
notmuch_message_get_author
notmuch_message_set_author
Signed-off-by: Charles Celerier <cceleri@cs.stanford.edu>
Diffstat (limited to 'lib/thread.cc')
-rw-r--r-- | lib/thread.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread.cc b/lib/thread.cc index 8f53e122..8922403e 100644 --- a/lib/thread.cc +++ b/lib/thread.cc @@ -284,7 +284,7 @@ _thread_add_message (notmuch_thread_t *thread, } clean_author = _thread_cleanup_author (thread, author, from); _thread_add_author (thread, clean_author); - notmuch_message_set_author (message, clean_author); + _notmuch_message_set_author (message, clean_author); } g_object_unref (G_OBJECT (list)); } @@ -373,7 +373,7 @@ _thread_add_matched_message (notmuch_thread_t *thread, NOTMUCH_MESSAGE_FLAG_MATCH, 1); } - _thread_add_matched_author (thread, notmuch_message_get_author (hashed_message)); + _thread_add_matched_author (thread, _notmuch_message_get_author (hashed_message)); } static void |