diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 02:36:14 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 03:01:05 +0800 |
commit | 42d4cff57b09ee5c17433ba5d483cd1069c1bdda (patch) | |
tree | 47350166abb2b7270cffc656cc2f051bd853cb11 /em-format | |
parent | 49adb381a6d348c90648b69a803d22be82b90ecd (diff) | |
download | gsoc2013-evolution-42d4cff57b09ee5c17433ba5d483cd1069c1bdda.tar.gz gsoc2013-evolution-42d4cff57b09ee5c17433ba5d483cd1069c1bdda.tar.zst gsoc2013-evolution-42d4cff57b09ee5c17433ba5d483cd1069c1bdda.zip |
EMailFormatterContext: Clearify the flags type.
We define the header flags as an enum type, so use the enum type.
Diffstat (limited to 'em-format')
-rw-r--r-- | em-format/e-mail-formatter.c | 6 | ||||
-rw-r--r-- | em-format/e-mail-formatter.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/em-format/e-mail-formatter.c b/em-format/e-mail-formatter.c index 594690611d..2c100cb8ed 100644 --- a/em-format/e-mail-formatter.c +++ b/em-format/e-mail-formatter.c @@ -83,7 +83,7 @@ static EMailFormatterContext * mail_formatter_create_context (EMailFormatter *formatter, EMailPartList *part_list, EMailFormatterMode mode, - guint32 flags) + EMailFormatterHeaderFlags flags) { EMailFormatterClass *class; EMailFormatterContext *context; @@ -772,7 +772,7 @@ void e_mail_formatter_format_sync (EMailFormatter *formatter, EMailPartList *parts, CamelStream *stream, - guint32 flags, + EMailFormatterHeaderFlags flags, EMailFormatterMode mode, GCancellable *cancellable) { @@ -815,7 +815,7 @@ void e_mail_formatter_format (EMailFormatter *formatter, EMailPartList *parts, CamelStream *stream, - guint32 flags, + EMailFormatterHeaderFlags flags, EMailFormatterMode mode, GAsyncReadyCallback callback, GCancellable *cancellable, diff --git a/em-format/e-mail-formatter.h b/em-format/e-mail-formatter.h index e632b7a686..de625a2555 100644 --- a/em-format/e-mail-formatter.h +++ b/em-format/e-mail-formatter.h @@ -91,7 +91,7 @@ struct _EMailFormatterHeader { struct _EMailFormatterContext { EMailPartList *part_list; EMailFormatterMode mode; - guint32 flags; + EMailFormatterHeaderFlags flags; gchar *uri; }; @@ -134,14 +134,14 @@ EMailFormatter * void e_mail_formatter_format_sync (EMailFormatter *formatter, EMailPartList *parts_list, CamelStream *stream, - guint32 flags, + EMailFormatterHeaderFlags flags, EMailFormatterMode mode, GCancellable *cancellable); void e_mail_formatter_format (EMailFormatter *formatter, EMailPartList *parts_list, CamelStream *stream, - guint32 flags, + EMailFormatterHeaderFlags flags, EMailFormatterMode mode, GAsyncReadyCallback callback, GCancellable *cancellable, |