[evolution-rss] fix return of image uri in comments
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] fix return of image uri in comments
- Date: Mon, 21 Jun 2010 20:05:46 +0000 (UTC)
commit 9873fd7141ea7b500e2d1b0333cfa54bfc2f62a5
Author: Lucian Langa <lucilanga gnome org>
Date: Mon Jun 21 23:02:30 2010 +0300
fix return of image uri in comments
src/parser.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/parser.c b/src/parser.c
index 83287b6..f27f10c 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -873,9 +873,13 @@ process_images(gchar *text, gchar *link, gboolean decode, EMFormatHTML *format)
if ((name = fetch_image_redraw((gchar *)url, link, format))) {
if (decode) {
tname = decode_image_cache_filename(name);
+#if (EVOLUTION_VERSION >= 23000)
g_free(name);
name = g_filename_to_uri (tname, NULL, NULL);
g_free(tname);
+#else
+ name = tname;
+#endif
}
xmlSetProp(
doc, (xmlChar *)"src",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]