aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-07 01:34:06 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-07 01:54:42 +0800
commit312d230cd2493ddfb2581d1ed90e688e6d099fb9 (patch)
treeacb7a87bdf0e70c0affdd5ec1bffc96f4a220fd6 /em-format/e-mail-formatter-utils.c
parent9e33bb17287ecb26c3fed164e7b441475dc1b2cb (diff)
downloadgsoc2013-evolution-312d230cd2493ddfb2581d1ed90e688e6d099fb9.tar
gsoc2013-evolution-312d230cd2493ddfb2581d1ed90e688e6d099fb9.tar.gz
gsoc2013-evolution-312d230cd2493ddfb2581d1ed90e688e6d099fb9.tar.bz2
gsoc2013-evolution-312d230cd2493ddfb2581d1ed90e688e6d099fb9.tar.lz
gsoc2013-evolution-312d230cd2493ddfb2581d1ed90e688e6d099fb9.tar.xz
gsoc2013-evolution-312d230cd2493ddfb2581d1ed90e688e6d099fb9.tar.zst
gsoc2013-evolution-312d230cd2493ddfb2581d1ed90e688e6d099fb9.zip
e_mail_formatter_format_header: Remove unused CamelMedium param.
Diffstat (limited to 'em-format/e-mail-formatter-utils.c')
-rw-r--r--em-format/e-mail-formatter-utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/em-format/e-mail-formatter-utils.c b/em-format/e-mail-formatter-utils.c
index fe4c887756..409e2c6314 100644
--- a/em-format/e-mail-formatter-utils.c
+++ b/em-format/e-mail-formatter-utils.c
@@ -273,7 +273,6 @@ e_mail_formatter_canon_header_name (gchar *name)
void
e_mail_formatter_format_header (EMailFormatter *formatter,
GString *buffer,
- CamelMedium *part,
struct _camel_header_raw *header,
guint32 flags,
const gchar *charset)
@@ -284,9 +283,8 @@ e_mail_formatter_format_header (EMailFormatter *formatter,
gchar *str_field = NULL;
gint i;
- /* XXX Not sure if buffer or part can be NULL.
- * They're just passthrough parameters anyway. */
g_return_if_fail (E_IS_MAIL_FORMATTER (formatter));
+ g_return_if_fail (buffer != NULL);
g_return_if_fail (header != NULL);
name = g_alloca (strlen (header->name) + 1);