From d6e5066235fa4127797b066c77af130ad229c671 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 10 Jun 2003 13:22:28 +0000 Subject: Fix mistake from previous checkin; strcmp cannot take NULL. 2003-06-10 Christian Persch * src/ephy-tab.c: (ephy_tab_icon_cache_changed_cb): Fix mistake from previous checkin; strcmp cannot take NULL. --- src/ephy-tab.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ephy-tab.c') 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"); -- cgit