diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 23:13:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-29 00:13:23 +0800 |
commit | fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (patch) | |
tree | ae78be371695c3dc18847b87d3f014f985aa3a40 /mail/em-format-html-display.h | |
parent | 6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff) | |
download | gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.bz2 gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.lz gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.xz gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip |
Prefer GLib basic types over C types.
Diffstat (limited to 'mail/em-format-html-display.h')
-rw-r--r-- | mail/em-format-html-display.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/em-format-html-display.h b/mail/em-format-html-display.h index bd0ea0edd3..16bafc30fb 100644 --- a/mail/em-format-html-display.h +++ b/mail/em-format-html-display.h @@ -59,9 +59,9 @@ struct _EMFormatHTMLDisplay { struct _ESearchingTokenizer *search_tok; - unsigned int animate:1; - unsigned int caret_mode:1; - unsigned int nobar:1; + guint animate:1; + guint caret_mode:1; + guint nobar:1; }; #define EM_FORMAT_HTML_DISPLAY_SEARCH_PRIMARY (0) @@ -72,11 +72,11 @@ struct _EMFormatHTMLDisplayClass { EMFormatHTMLClass formathtml_class; /* a link clicked normally */ - void (*link_clicked)(EMFormatHTMLDisplay *efhd, const char *uri); + void (*link_clicked)(EMFormatHTMLDisplay *efhd, const gchar *uri); /* a part or a link button pressed event */ - int (*popup_event)(EMFormatHTMLDisplay *efhd, GdkEventButton *event, const char *uri, struct _CamelMimePart *part); + gint (*popup_event)(EMFormatHTMLDisplay *efhd, GdkEventButton *event, const gchar *uri, struct _CamelMimePart *part); /* the mouse is over a link */ - void (*on_url)(EMFormatHTMLDisplay *efhd, const char *uri); + void (*on_url)(EMFormatHTMLDisplay *efhd, const gchar *uri); }; GType em_format_html_display_get_type (void); @@ -85,7 +85,7 @@ EMFormatHTMLDisplay * void em_format_html_display_goto_anchor (EMFormatHTMLDisplay *efhd, - const char *name); + const gchar *name); void em_format_html_display_set_animate (EMFormatHTMLDisplay *efhd, @@ -96,12 +96,12 @@ void em_format_html_display_set_caret_mode void em_format_html_display_set_search (EMFormatHTMLDisplay *efhd, - int type, + gint type, GSList *strings); void em_format_html_display_search (EMFormatHTMLDisplay *efhd); void em_format_html_display_search_with (EMFormatHTMLDisplay *efhd, - char *word); + gchar *word); void em_format_html_display_search_close (EMFormatHTMLDisplay *efhd); |