aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-06-10 21:22:28 +0800
committerChristian Persch <chpe@src.gnome.org>2003-06-10 21:22:28 +0800
commitd6e5066235fa4127797b066c77af130ad229c671 (patch)
tree66b0f07ea29de7cfe13db84d680a154d92d4e68f
parentbc2beacdfff2adfc2c8ec02ddb868cd02b55963d (diff)
downloadgsoc2013-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.
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-tab.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 472f4b81e..8532dc046 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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");