From f89e7385d0a0c34669a69c057aed9643c0c13fbb Mon Sep 17 00:00:00 2001 From: Nguyen Thai Ngoc Duy Date: Sat, 12 Dec 2009 12:28:22 +0200 Subject: ephy-web-view: do not set favicon when we have no address This shouldn't happen in theory, but the double check fixes a crasher opening URLs from gmail. Bug #604375 Signed-off-by: Xan Lopez --- embed/ephy-web-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed') diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 29c7699c3..6fd1a4da5 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -931,7 +931,7 @@ _ephy_web_view_set_icon_address (EphyWebView *view, g_object_notify (object, "icon"); } - if (icon_address) { + if (icon_address && priv->address) { history = EPHY_HISTORY (ephy_embed_shell_get_global_history (embed_shell)); ephy_history_set_icon (history, priv->address, icon_address); -- cgit v1.2.3