diff options
author | Tor Lillqvist <tml@novell.com> | 2006-06-13 14:11:41 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2006-06-13 14:11:41 +0800 |
commit | 2511403367518c17d1b74fd18d14926981a432ce (patch) | |
tree | db5360dd7dfe6f8577c4d73998b5e4eeb1cf9ac7 /mail/em-format-html.c | |
parent | 020fdf4452f71fc1590088f385a627b2c852e14f (diff) | |
download | gsoc2013-evolution-2511403367518c17d1b74fd18d14926981a432ce.tar.gz gsoc2013-evolution-2511403367518c17d1b74fd18d14926981a432ce.tar.zst gsoc2013-evolution-2511403367518c17d1b74fd18d14926981a432ce.zip |
Fix build on Win32, where EVOLUTION_ICONSDIR is a function call.
2006-06-13 Tor Lillqvist <tml@novell.com>
* em-format-html.c (efh_format_address): Fix build on Win32, where
EVOLUTION_ICONSDIR is a function call.
svn path=/trunk/; revision=32124
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r-- | mail/em-format-html.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 91a876cf6e..c2a5b16f21 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -1560,19 +1560,19 @@ efh_format_address (EMFormatHTML *efh, GString *out, struct _camel_header_addres if (!strcmp (field, i18n_hdrs[2])) { g_string_append (out, "<a href=\"##TO##\">...</a>"); - str = g_strdup ("<a href=\"##TO##\"><img src="EVOLUTION_ICONSDIR"\"/plus.png\" /></a> "); + str = g_strdup_printf ("<a href=\"##TO##\"><img src=\"%s/plus.png\" /></a> ", EVOLUTION_ICONSDIR); return str; } else if (!strcmp (field, i18n_hdrs[3])) { g_string_append (out, "<a href=\"##CC##\">...</a>"); - str = g_strdup ("<a href=\"##CC##\"><img src="EVOLUTION_ICONSDIR"\"/plus.png\" /></a> "); + str = g_strdup_printf ("<a href=\"##CC##\"><img src=\"%s/plus.png\" /></a> ", EVOLUTION_ICONSDIR); return str; } else if (!strcmp (field, i18n_hdrs[4])) { g_string_append (out, "<a href=\"##BCC##\">...</a>"); - str = g_strdup ("<a href=\"##BCC##\"><img src="EVOLUTION_ICONSDIR"\"/plus.png\" /></a> "); + str = g_strdup_printf ("<a href=\"##BCC##\"><img src=\"%s/plus.png\" /></a> ", EVOLUTION_ICONSDIR); return str; } @@ -1584,13 +1584,13 @@ efh_format_address (EMFormatHTML *efh, GString *out, struct _camel_header_addres if (!strcmp (field, i18n_hdrs[2])) { - str = g_strdup_printf ("<a href=\"##TO##\"><img src="EVOLUTION_ICONSDIR"\"/minus.png\" /></a> "); + str = g_strdup_printf ("<a href=\"##TO##\"><img src=\"%s/minus.png\" /></a> ", EVOLUTION_ICONSDIR); } else if (!strcmp (field, i18n_hdrs[3])) { - str = g_strdup ("<a href=\"##CC##\"><img src="EVOLUTION_ICONSDIR"\"/minus.png\" /></a> "); + str = g_strdup_printf ("<a href=\"##CC##\"><img src=\"%s/minus.png\" /></a> ", EVOLUTION_ICONSDIR); } else if (!strcmp (field, i18n_hdrs[4])) { - str = g_strdup ("<a href=\"##BCC##\"><img src="EVOLUTION_ICONSDIR"\"/minus.png\" /></a> "); + str = g_strdup_printf ("<a href=\"##BCC##\"><img src=\"%s/minus.png\" /></a> ", EVOLUTION_ICONSDIR); } } |