From 91822b42dc7b5eb64cad2626f9fc620a2ee6a2c8 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 5 Dec 2012 08:19:04 -0500 Subject: Make EMailPartList thread-safe. Exposing data members in the public struct is unwise, especially when EMailPartList is used from multiple threads. Instead keep the members private and provide a set of thread-safe functions to manipulate them. --- em-format/e-mail-formatter-utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'em-format/e-mail-formatter-utils.h') diff --git a/em-format/e-mail-formatter-utils.h b/em-format/e-mail-formatter-utils.h index e89c3f42b4..381b805917 100644 --- a/em-format/e-mail-formatter-utils.h +++ b/em-format/e-mail-formatter-utils.h @@ -48,8 +48,8 @@ gchar * e_mail_formatter_format_address (EMailFormatter *formatter, void e_mail_formatter_canon_header_name (gchar *name); -GSList * e_mail_formatter_find_rfc822_end_iter - (GSList *rfc822_start_iter); +GList * e_mail_formatter_find_rfc822_end_iter + (GList *rfc822_start_iter); gchar * e_mail_formatter_parse_html_mnemonics (const gchar *label, -- cgit v1.2.3