diff options
author | Dan Winship <danw@src.gnome.org> | 2000-06-15 23:24:40 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-06-15 23:24:40 +0800 |
commit | 86c38b418e5b2e6aac95409c40c073f60115e22e (patch) | |
tree | 5afb40ddac12263a13d9bce0a74069d737350cd8 /mail/mail-display.c | |
parent | 927da631980f20b076109939190fa6c20b75bf8e (diff) | |
download | gsoc2013-evolution-86c38b418e5b2e6aac95409c40c073f60115e22e.tar.gz gsoc2013-evolution-86c38b418e5b2e6aac95409c40c073f60115e22e.tar.zst gsoc2013-evolution-86c38b418e5b2e6aac95409c40c073f60115e22e.zip |
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
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r-- | mail/mail-display.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |