From 86c38b418e5b2e6aac95409c40c073f60115e22e Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 15 Jun 2000 15:24:40 +0000 Subject: if the document requests an unknown URL, it's not an error; just ignore * mail-display.c (on_url_requested): if the document requests an unknown URL, it's not an error; just ignore the URL. * mail-ops.c (fetch_mail): If there's no new mail, tell the user. svn path=/trunk/; revision=3574 --- mail/mail-display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/mail-display.c') diff --git a/mail/mail-display.c b/mail/mail-display.c index 8b07d7eaec..b5db4c69e1 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -275,7 +275,8 @@ on_url_requested (GtkHTML *html, const char *url, GtkHTMLStream *handle, urls = gtk_object_get_data (GTK_OBJECT (message), "urls"); user_data = g_hash_table_lookup (urls, url); - g_return_if_fail (user_data != NULL); + if (user_data == NULL) + return; if (strncmp (url, "cid:", 4) == 0) { CamelMedium *medium = user_data; -- cgit v1.2.3