aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-display.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 22:58:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 22:58:25 +0800
commit0cf607076dfc2c481ca1164a04cecdb0661e6bd0 (patch)
tree81b3c9a19871ba9777b1d4c4178308edff2087a0 /mail/em-format-html-display.c
parentf8730610042229f275a5a294df4c2eb5f225118e (diff)
downloadgsoc2013-evolution-0cf607076dfc2c481ca1164a04cecdb0661e6bd0.tar
gsoc2013-evolution-0cf607076dfc2c481ca1164a04cecdb0661e6bd0.tar.gz
gsoc2013-evolution-0cf607076dfc2c481ca1164a04cecdb0661e6bd0.tar.bz2
gsoc2013-evolution-0cf607076dfc2c481ca1164a04cecdb0661e6bd0.tar.lz
gsoc2013-evolution-0cf607076dfc2c481ca1164a04cecdb0661e6bd0.tar.xz
gsoc2013-evolution-0cf607076dfc2c481ca1164a04cecdb0661e6bd0.tar.zst
gsoc2013-evolution-0cf607076dfc2c481ca1164a04cecdb0661e6bd0.zip
Fix compiler warnings in mail.
Diffstat (limited to 'mail/em-format-html-display.c')
-rw-r--r--mail/em-format-html-display.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 1a56f21e48..8863bf7f08 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -889,31 +889,31 @@ efhd_image(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, EMFormat
/* ********************************************************************** */
static EMFormatHandler type_builtin_table[] = {
- { "image/gif", (EMFormatFunc)efhd_image },
- { "image/jpeg", (EMFormatFunc)efhd_image },
- { "image/png", (EMFormatFunc)efhd_image },
- { "image/x-png", (EMFormatFunc)efhd_image },
- { "image/tiff", (EMFormatFunc)efhd_image },
- { "image/x-bmp", (EMFormatFunc)efhd_image },
- { "image/bmp", (EMFormatFunc)efhd_image },
- { "image/svg", (EMFormatFunc)efhd_image },
- { "image/x-cmu-raster", (EMFormatFunc)efhd_image },
- { "image/x-ico", (EMFormatFunc)efhd_image },
- { "image/x-portable-anymap", (EMFormatFunc)efhd_image },
- { "image/x-portable-bitmap", (EMFormatFunc)efhd_image },
- { "image/x-portable-graymap", (EMFormatFunc)efhd_image },
- { "image/x-portable-pixmap", (EMFormatFunc)efhd_image },
- { "image/x-xpixmap", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/gif", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/jpeg", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/png", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/x-png", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/tiff", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/x-bmp", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/bmp", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/svg", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/x-cmu-raster", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/x-ico", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/x-portable-anymap", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/x-portable-bitmap", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/x-portable-graymap", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/x-portable-pixmap", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/x-xpixmap", (EMFormatFunc)efhd_image },
/* This is where one adds those busted, non-registered types,
that some idiot mailer writers out there decide to pull out
of their proverbials at random. */
- { "image/jpg", (EMFormatFunc)efhd_image },
- { "image/pjpeg", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/jpg", (EMFormatFunc)efhd_image },
+ { (gchar *) "image/pjpeg", (EMFormatFunc)efhd_image },
- { "x-evolution/message/prefix", (EMFormatFunc)efhd_message_prefix },
- { "x-evolution/message/post-header", (EMFormatFunc)efhd_message_add_bar }
+ { (gchar *) "x-evolution/message/prefix", (EMFormatFunc)efhd_message_prefix },
+ { (gchar *) "x-evolution/message/post-header", (EMFormatFunc)efhd_message_add_bar }
};
static void
@@ -1079,11 +1079,11 @@ efhd_image_unfit(EPopup *ep, EPopupItem *item, void *data)
}
static EPopupItem efhd_menu_items[] = {
- { E_POPUP_BAR, "05.display", },
- { E_POPUP_ITEM, "05.display.00", N_("_View Inline"), efhd_attachment_show },
- { E_POPUP_ITEM, "05.display.00", N_("_Hide"), efhd_attachment_show },
- { E_POPUP_ITEM, "05.display.01", N_("_Fit to Width"), efhd_image_fit, NULL, NULL, EM_POPUP_PART_IMAGE },
- { E_POPUP_ITEM, "05.display.01", N_("Show _Original Size"), efhd_image_unfit, NULL, NULL, EM_POPUP_PART_IMAGE },
+ { E_POPUP_BAR, (gchar *) "05.display" },
+ { E_POPUP_ITEM, (gchar *) "05.display.00", (gchar *) N_("_View Inline"), efhd_attachment_show },
+ { E_POPUP_ITEM, (gchar *) "05.display.00", (gchar *) N_("_Hide"), efhd_attachment_show },
+ { E_POPUP_ITEM, (gchar *) "05.display.01", (gchar *) N_("_Fit to Width"), efhd_image_fit, NULL, NULL, EM_POPUP_PART_IMAGE },
+ { E_POPUP_ITEM, (gchar *) "05.display.01", (gchar *) N_("Show _Original Size"), efhd_image_unfit, NULL, NULL, EM_POPUP_PART_IMAGE },
};
static void
@@ -1343,7 +1343,7 @@ efhd_attachment_image(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObjec
GdkPixbuf *pixbuf;
GtkTargetEntry drag_types[] = {
{ NULL, 0, 0 },
- { "text/uri-list", 0, 1 },
+ { (gchar *) "text/uri-list", 0, 1 },
};
char *simple_type;