aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-26 20:11:58 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-26 20:11:58 -0700
commitd07dd49aac0f337d3f631504f521311a9685bd1f (patch)
treed4f6ae1beeb51c008d34db7d8ea519e0f73c3e59
parentc12823648ee84b4748e0e9f0cd97f7264911b589 (diff)
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.
-rw-r--r--notmuch-private.h3
-rw-r--r--notmuch.c2
-rw-r--r--thread.cc2
3 files changed, 2 insertions, 5 deletions
diff --git a/notmuch-private.h b/notmuch-private.h
index 42f8d275..c80f219a 100644
--- a/notmuch-private.h
+++ b/notmuch-private.h
@@ -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 *
diff --git a/notmuch.c b/notmuch.c
index ae1d5976..c432d0d7 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -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);
diff --git a/thread.cc b/thread.cc
index 9b49c550..e4c9e111 100644
--- a/thread.cc
+++ b/thread.cc
@@ -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;
}