diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-06-10 21:22:28 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-06-10 21:22:28 +0800 |
commit | d6e5066235fa4127797b066c77af130ad229c671 (patch) | |
tree | 66b0f07ea29de7cfe13db84d680a154d92d4e68f /src/ephy-tab.c | |
parent | bc2beacdfff2adfc2c8ec02ddb868cd02b55963d (diff) | |
download | gsoc2013-epiphany-d6e5066235fa4127797b066c77af130ad229c671.tar gsoc2013-epiphany-d6e5066235fa4127797b066c77af130ad229c671.tar.gz gsoc2013-epiphany-d6e5066235fa4127797b066c77af130ad229c671.tar.bz2 gsoc2013-epiphany-d6e5066235fa4127797b066c77af130ad229c671.tar.lz gsoc2013-epiphany-d6e5066235fa4127797b066c77af130ad229c671.tar.xz gsoc2013-epiphany-d6e5066235fa4127797b066c77af130ad229c671.tar.zst gsoc2013-epiphany-d6e5066235fa4127797b066c77af130ad229c671.zip |
Fix mistake from previous checkin; strcmp cannot take NULL.
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.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r-- | src/ephy-tab.c | 3 |
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"); |