From 948235c3d1076dbe6ed2e57a24c16a083bbd9f01 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 27 May 2009 10:29:19 -0400 Subject: Prefer GLib basic types over C types. --- mail/em-format-html.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'mail/em-format-html.h') diff --git a/mail/em-format-html.h b/mail/em-format-html.h index 3293318104..bcc9a917a9 100644 --- a/mail/em-format-html.h +++ b/mail/em-format-html.h @@ -124,13 +124,13 @@ struct _EMFormatHTMLJob { struct _EMFormatPURITree *puri_level; CamelURL *base; - void (*callback)(EMFormatHTMLJob *job, int cancelled); + void (*callback)(EMFormatHTMLJob *job, gint cancelled); union { - char *uri; + gchar *uri; CamelMedium *msg; EMFormatPURI *puri; struct _EMFormatPURITree *puri_level; - void *data; + gpointer data; } u; }; @@ -164,7 +164,7 @@ struct _EMFormatHTMLPObject { void (*free)(EMFormatHTMLPObject *); EMFormatHTML *format; - char *classid; + gchar *classid; EMFormatHTMLPObjectFunc func; CamelMimePart *part; @@ -216,9 +216,9 @@ struct _EMFormatHTML { GSList *headers; guint32 text_html_flags; /* default flags for text to html conversion */ - unsigned int simple_headers:1; /* simple header format, no box/table */ - unsigned int hide_headers:1; /* no headers at all */ - unsigned int show_icon:1; /* show an icon when the sender used Evo */ + guint simple_headers:1; /* simple header format, no box/table */ + guint hide_headers:1; /* no headers at all */ + guint show_icon:1; /* show an icon when the sender used Evo */ guint32 header_wrap_flags; EMFormatHTMLState state; /* actual state of the object */ @@ -269,12 +269,12 @@ CamelMimePart * em_format_html_file_part (EMFormatHTML *efh, EMFormatHTMLPObject * em_format_html_add_pobject (EMFormatHTML *efh, size_t size, - const char *classid, + const gchar *classid, CamelMimePart *part, EMFormatHTMLPObjectFunc func); EMFormatHTMLPObject * em_format_html_find_pobject (EMFormatHTML *efh, - const char *classid); + const gchar *classid); EMFormatHTMLPObject * em_format_html_find_pobject_func(EMFormatHTML *efh, CamelMimePart *part, @@ -284,8 +284,8 @@ void em_format_html_remove_pobject (EMFormatHTML *efh, void em_format_html_clear_pobject (EMFormatHTML *efh); EMFormatHTMLJob * em_format_html_job_new (EMFormatHTML *efh, - void (*callback)(EMFormatHTMLJob *job, int cancelled), - void *data); + void (*callback)(EMFormatHTMLJob *job, gint cancelled), + gpointer data); void em_format_html_job_queue (EMFormatHTML *efh, EMFormatHTMLJob *job); -- cgit v1.2.3