diff options
author | Nguyen Thai Ngoc Duy <pclouds@gmail.com> | 2009-12-12 18:28:22 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2009-12-12 18:30:06 +0800 |
commit | f89e7385d0a0c34669a69c057aed9643c0c13fbb (patch) | |
tree | c2c8ad7af558213e6cfaad3531de0cd22ca1b0f9 | |
parent | 74dc983654efc24a3a5dcf03420502eacdb757ae (diff) | |
download | gsoc2013-epiphany-f89e7385d0a0c34669a69c057aed9643c0c13fbb.tar gsoc2013-epiphany-f89e7385d0a0c34669a69c057aed9643c0c13fbb.tar.gz gsoc2013-epiphany-f89e7385d0a0c34669a69c057aed9643c0c13fbb.tar.bz2 gsoc2013-epiphany-f89e7385d0a0c34669a69c057aed9643c0c13fbb.tar.lz gsoc2013-epiphany-f89e7385d0a0c34669a69c057aed9643c0c13fbb.tar.xz gsoc2013-epiphany-f89e7385d0a0c34669a69c057aed9643c0c13fbb.tar.zst gsoc2013-epiphany-f89e7385d0a0c34669a69c057aed9643c0c13fbb.zip |
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 <xan@gnome.org>
-rw-r--r-- | embed/ephy-web-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |