aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-14 05:42:26 +0800
committerDan Winship <danw@src.gnome.org>2001-04-14 05:42:26 +0800
commit546128c8d99b1edd859ba5d8b57549550b910a1d (patch)
treea9301a7dcae33f7c79d9a19f734e5ecc02c67966 /mail/mail-display.c
parent044fde0583993fae3ec3c511ac0a5058c5745302 (diff)
downloadgsoc2013-evolution-546128c8d99b1edd859ba5d8b57549550b910a1d.tar.gz
gsoc2013-evolution-546128c8d99b1edd859ba5d8b57549550b910a1d.tar.zst
gsoc2013-evolution-546128c8d99b1edd859ba5d8b57549550b910a1d.zip
Remove some redundant LIBS variables... purify complained that the command
* Makefile.am (evolution_mail_LDADD): Remove some redundant LIBS variables... purify complained that the command line was too long. :-} * mail-account-gui.c: Plug leaks. * mail-display.c (on_url_requested): close the html stream on error too. * mail-ops.c (fetch_mail_fetch): Move a line around that probably doesn't affect anything, but it's correct. * session.c (auth_callback): Plug leak. * mail-send-recv.c (receive_status): Initialize "now". svn path=/trunk/; revision=9303
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 55eae01dca..266c46e1fc 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -862,8 +862,10 @@ on_url_requested (GtkHTML *html, const char *url, GtkHTMLStream *handle,
g_return_if_fail (urls != NULL);
user_data = g_hash_table_lookup (urls, url);
- if (user_data == NULL)
+ if (user_data == NULL) {
+ gtk_html_end (html, handle, GTK_HTML_STREAM_ERROR);
return;
+ }
if (strncmp (url, "cid:", 4) == 0) {
CamelMedium *medium = user_data;