[evolution] Remove e_mail_formatter_get_headers().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove e_mail_formatter_get_headers().
- Date: Tue, 14 May 2013 19:34:47 +0000 (UTC)
commit 2207b9f8a39f6be6c533c58b6f072026361f8b6c
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue May 14 08:51:57 2013 -0400
Remove e_mail_formatter_get_headers().
Not thread-safe. Use e_mail_formatter_dup_headers() instead.
em-format/e-mail-formatter.c | 16 ----------------
em-format/e-mail-formatter.h | 1 -
2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/em-format/e-mail-formatter.c b/em-format/e-mail-formatter.c
index 938cfc6..4bc8dcd 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 fcadfaa..ca05e0f 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]