aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-12 08:10:26 +0800
committerDan Winship <danw@src.gnome.org>2000-05-12 08:10:26 +0800
commit9634ad048462c087a47d4728e3462aece3b03a50 (patch)
treee704a253959958b58372d6268156ac40282f1bc6 /mail/mail-display.c
parent212026d1a4022037242c6cfcc8bbeb4dd7fcfad5 (diff)
downloadgsoc2013-evolution-9634ad048462c087a47d4728e3462aece3b03a50.tar
gsoc2013-evolution-9634ad048462c087a47d4728e3462aece3b03a50.tar.gz
gsoc2013-evolution-9634ad048462c087a47d4728e3462aece3b03a50.tar.bz2
gsoc2013-evolution-9634ad048462c087a47d4728e3462aece3b03a50.tar.lz
gsoc2013-evolution-9634ad048462c087a47d4728e3462aece3b03a50.tar.xz
gsoc2013-evolution-9634ad048462c087a47d4728e3462aece3b03a50.tar.zst
gsoc2013-evolution-9634ad048462c087a47d4728e3462aece3b03a50.zip
Call a kludge a kludge. (And an insecure kludge at that.)
svn path=/trunk/; revision=3000
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 0e7eac06e1..0dc919d307 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -148,6 +148,11 @@ on_url_requested (GtkHTML *html, const char *url, GtkHTMLStreamHandle handle,
if (strncmp (url, "x-gnome-icon:", 13) == 0) {
const char *name = url + 13;
+ /* FIXME: gnome_pixmap_file will cheerily accept icon
+ * names like "../../../dev/zero". Anyway, this whole
+ * hack needs to be replaced with something more
+ * efficient anyway.
+ */
char *path = gnome_pixmap_file (name);
int fd;