aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/ephy-web-view.c2
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);