aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-10-12 21:38:51 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-10-12 21:38:51 +0800
commit6c337e9ea0623b48688c018973d35823dde21f60 (patch)
tree395633c625a76dd5801e9aff79105f4120688ddb /camel/camel-folder-summary.c
parent4e7e9477148d8558b48c7b3a10831c73e0e4b326 (diff)
downloadgsoc2013-evolution-6c337e9ea0623b48688c018973d35823dde21f60.tar.gz
gsoc2013-evolution-6c337e9ea0623b48688c018973d35823dde21f60.tar.zst
gsoc2013-evolution-6c337e9ea0623b48688c018973d35823dde21f60.zip
Removed temp_message_buffer, and content_input_stream fields which seem to
2000-10-11 Not Zed <NotZed@HelixCode.com> * camel-mime-part.h (struct _CamelMimePart): Removed temp_message_buffer, and content_input_stream fields which seem to have come from nowhere, and are unused. * camel-mime-utils.c: Added a note about touching this file. Nobody is to touch it without asking me first. That goes for you too Jeff. (header_decode_text): In what way is this broken? 2000-10-10 Not Zed <NotZed@HelixCode.com> * providers/imap/camel-imap-folder.c (imap_get_summary_internal): Fix camel_summary_* function rename (imap_get_message_info_internal): Likewise. * camel-mime-parser.c (camel_mime_parser_finalise): Fixed a spelling mistake. * camel-folder-summary.c (camel_summary_format_address): Uh, why do we encode and then decode here ... sigh. This is not the way to fix this. (camel_folder_summary_format_address): Renamed to a proper name, this was only supposed to be a private function. (camel_folder_summary_format_string): Likewise. Oh i see why it was made public, code reuse by cut & paste. Joy. svn path=/trunk/; revision=5881
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r--camel/camel-folder-summary.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 4ee6be69f7..d3881f5857 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -920,7 +920,7 @@ static CamelMessageContentInfo * content_info_new_from_parser(CamelFolderSummary
}
char *
-camel_summary_format_address(struct _header_raw *h, const char *name)
+camel_folder_summary_format_address(struct _header_raw *h, const char *name)
{
struct _header_address *addr;
const char *text;
@@ -942,7 +942,7 @@ camel_summary_format_address(struct _header_raw *h, const char *name)
}
char *
-camel_summary_format_string(struct _header_raw *h, const char *name)
+camel_folder_summary_format_string(struct _header_raw *h, const char *name)
{
const char *text;
@@ -964,10 +964,10 @@ message_info_new(CamelFolderSummary *s, struct _header_raw *h)
mi = g_malloc0(s->message_info_size);
- mi->subject = camel_summary_format_string(h, "subject");
- mi->from = camel_summary_format_address(h, "from");
- mi->to = camel_summary_format_address(h, "to");
- mi->cc = camel_summary_format_address(h, "cc");
+ mi->subject = camel_folder_summary_format_string(h, "subject");
+ mi->from = camel_folder_summary_format_address(h, "from");
+ mi->to = camel_folder_summary_format_address(h, "to");
+ mi->cc = camel_folder_summary_format_address(h, "cc");
mi->user_flags = NULL;
mi->user_tags = NULL;
mi->date_sent = header_decode_date(header_raw_find(&h, "date", NULL), NULL);