aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-14 20:51:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-15 03:20:14 +0800
commit2207b9f8a39f6be6c533c58b6f072026361f8b6c (patch)
tree35e2e2c1ea963b9b88e6ec5a91bf8c689661302f
parent2c5d0444bb11eb2594d30085db510d2b000ac22a (diff)
downloadgsoc2013-evolution-2207b9f8a39f6be6c533c58b6f072026361f8b6c.tar.gz
gsoc2013-evolution-2207b9f8a39f6be6c533c58b6f072026361f8b6c.tar.zst
gsoc2013-evolution-2207b9f8a39f6be6c533c58b6f072026361f8b6c.zip
Remove e_mail_formatter_get_headers().
Not thread-safe. Use e_mail_formatter_dup_headers() instead.
-rw-r--r--em-format/e-mail-formatter.c16
-rw-r--r--em-format/e-mail-formatter.h1
2 files changed, 0 insertions, 17 deletions
diff --git a/em-format/e-mail-formatter.c b/em-format/e-mail-formatter.c
index 938cfc6937..4bc8dcd7fd 100644
--- a/em-format/e-mail-formatter.c
+++ b/em-format/e-mail-formatter.c
@@ -1445,22 +1445,6 @@ static const struct {
};
/**
- * e_mail_formatter_get_headers:
- * @formatter: an #EMailFormatter
- *
- * Returns list of currently set headers.
- *
- * Return Value: A #GQueue of headers which you should not modify or unref
- */
-const GQueue *
-e_mail_formatter_get_headers (EMailFormatter *formatter)
-{
- g_return_val_if_fail (E_IS_MAIL_FORMATTER (formatter), NULL);
-
- return formatter->priv->header_list;
-}
-
-/**
* e_mail_formatter_dup_headers:
* @formatter: an #EMailFormatter
*
diff --git a/em-format/e-mail-formatter.h b/em-format/e-mail-formatter.h
index fcadfaacc2..ca05e0fa64 100644
--- a/em-format/e-mail-formatter.h
+++ b/em-format/e-mail-formatter.h
@@ -225,7 +225,6 @@ void e_mail_formatter_set_default_charset
(EMailFormatter *formatter,
const gchar *charset);
-const GQueue * e_mail_formatter_get_headers (EMailFormatter *formatter);
GQueue * e_mail_formatter_dup_headers (EMailFormatter *formatter);
void e_mail_formatter_clear_headers (EMailFormatter *formatter);