aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--em-format/e-mail-formatter.c4
-rw-r--r--em-format/e-mail-formatter.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/em-format/e-mail-formatter.c b/em-format/e-mail-formatter.c
index c3a20855a6..594690611d 100644
--- a/em-format/e-mail-formatter.c
+++ b/em-format/e-mail-formatter.c
@@ -1435,7 +1435,7 @@ e_mail_formatter_set_default_headers (EMailFormatter *formatter)
* @formatter:
* @name: The name of the header, as it will appear during output.
* @value: Value of the header. Can be %NULL.
- * @flags: EM_FORMAT_HEAD_* defines to control display attributes.
+ * @flags: a set of #EMailFormatterHeaderFlags to control display attributes.
*
* Add a specific header to show. If any headers are set, they will
* be displayed in the order set by this function. Certain known
@@ -1446,7 +1446,7 @@ void
e_mail_formatter_add_header (EMailFormatter *formatter,
const gchar *name,
const gchar *value,
- guint32 flags)
+ EMailFormatterHeaderFlags flags)
{
EMailFormatterHeader *h;
diff --git a/em-format/e-mail-formatter.h b/em-format/e-mail-formatter.h
index 6d344ada85..e632b7a686 100644
--- a/em-format/e-mail-formatter.h
+++ b/em-format/e-mail-formatter.h
@@ -83,7 +83,7 @@ typedef struct _EMailFormatterHeader EMailFormatterHeader;
typedef struct _EMailFormatterContext EMailFormatterContext;
struct _EMailFormatterHeader {
- guint32 flags; /* E_MAIL_FORMATTER_HEADER_FLAG_ * */
+ EMailFormatterHeaderFlags flags;
gchar *name;
gchar *value;
};
@@ -239,7 +239,7 @@ void e_mail_formatter_set_default_headers
void e_mail_formatter_add_header (EMailFormatter *formatter,
const gchar *name,
const gchar *value,
- guint32 flags);
+ EMailFormatterHeaderFlags flags);
void e_mail_formatter_add_header_struct
(EMailFormatter *formatter,