aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 0cf1c6ded..d1ccf250e 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -555,7 +555,8 @@ ephy_tab_icon_cache_changed_cb (EphyFaviconCache *cache,
GdkPixbuf *pixbuf = NULL;
/* is this for us? */
- if (strcmp (tab->priv->icon_address, address) != 0) return;
+ if (tab->priv->icon_address == NULL ||
+ strcmp (tab->priv->icon_address, address) != 0) return;
/* notify */
g_object_notify (G_OBJECT (tab), "icon");