mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
Fix incorrect name of _notmuch_thread_get_subject.
Somehow this naming with an underscore crept in, (but only in the private header, so notmuch.c was compiling with no prototype). Fix to be the notmuch_thread_get_subject originally intended.
This commit is contained in:
parent
c12823648e
commit
d07dd49aac
3 changed files with 2 additions and 5 deletions
|
@ -160,9 +160,6 @@ _notmuch_thread_add_tag (notmuch_thread_t *thread, const char *tag);
|
|||
void
|
||||
_notmuch_thread_set_subject (notmuch_thread_t *thread, const char *subject);
|
||||
|
||||
const char *
|
||||
_notmuch_thread_get_subject (notmuch_thread_t *thread);
|
||||
|
||||
/* message.cc */
|
||||
|
||||
notmuch_message_t *
|
||||
|
|
|
@ -653,7 +653,7 @@ search_command (int argc, char *argv[])
|
|||
|
||||
printf ("%s %s",
|
||||
notmuch_thread_get_thread_id (thread),
|
||||
_notmuch_thread_get_subject (thread));
|
||||
notmuch_thread_get_subject (thread));
|
||||
|
||||
printf (" (");
|
||||
for (tags = notmuch_thread_get_tags (thread);
|
||||
|
|
|
@ -96,7 +96,7 @@ _notmuch_thread_set_subject (notmuch_thread_t *thread, const char *subject)
|
|||
}
|
||||
|
||||
const char *
|
||||
_notmuch_thread_get_subject (notmuch_thread_t *thread)
|
||||
notmuch_thread_get_subject (notmuch_thread_t *thread)
|
||||
{
|
||||
return thread->subject;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue