aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-08 02:26:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-08 03:01:05 +0800
commit49adb381a6d348c90648b69a803d22be82b90ecd (patch)
tree51ea4acc94faea4d21cdc278a197a04eec4be321
parentaad321aa734f5fe9838404f8084cf8f29971377c (diff)
downloadgsoc2013-evolution-49adb381a6d348c90648b69a803d22be82b90ecd.tar
gsoc2013-evolution-49adb381a6d348c90648b69a803d22be82b90ecd.tar.gz
gsoc2013-evolution-49adb381a6d348c90648b69a803d22be82b90ecd.tar.bz2
gsoc2013-evolution-49adb381a6d348c90648b69a803d22be82b90ecd.tar.lz
gsoc2013-evolution-49adb381a6d348c90648b69a803d22be82b90ecd.tar.xz
gsoc2013-evolution-49adb381a6d348c90648b69a803d22be82b90ecd.tar.zst
gsoc2013-evolution-49adb381a6d348c90648b69a803d22be82b90ecd.zip
EMailFormatterHeader: Clarify the flags type.
We define the header flags as an enum type, so use the enum type.
-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,