From 49adb381a6d348c90648b69a803d22be82b90ecd Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 7 Dec 2012 13:26:50 -0500 Subject: EMailFormatterHeader: Clarify the flags type. We define the header flags as an enum type, so use the enum type. --- em-format/e-mail-formatter.c | 4 ++-- em-format/e-mail-formatter.h | 4 ++-- 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, -- cgit v1.2.3