diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-tab.c | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2003-06-10 Christian Persch <chpe@cvs.gnome.org> + + * src/ephy-tab.c: (ephy_tab_icon_cache_changed_cb): + + Fix mistake from previous checkin; strcmp cannot take NULL. + 2003-06-10 Marco Pesenti Gritti <marco@it.gnome.org> * src/toolbar.c: (toolbar_set_location): 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"); |