aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-09-18 06:07:09 +0800
committerChristian Persch <chpe@src.gnome.org>2003-09-18 06:07:09 +0800
commit650006c2b232f9703a7777f20c0aa8470de7feab (patch)
tree4a38eb8ab74d6e16e10d2166bc3cc431a47fb50a /embed
parent32d554c7902bf79385e133f0af4613b7cb4f571f (diff)
downloadgsoc2013-epiphany-650006c2b232f9703a7777f20c0aa8470de7feab.tar
gsoc2013-epiphany-650006c2b232f9703a7777f20c0aa8470de7feab.tar.gz
gsoc2013-epiphany-650006c2b232f9703a7777f20c0aa8470de7feab.tar.bz2
gsoc2013-epiphany-650006c2b232f9703a7777f20c0aa8470de7feab.tar.lz
gsoc2013-epiphany-650006c2b232f9703a7777f20c0aa8470de7feab.tar.xz
gsoc2013-epiphany-650006c2b232f9703a7777f20c0aa8470de7feab.tar.zst
gsoc2013-epiphany-650006c2b232f9703a7777f20c0aa8470de7feab.zip
Don't abort on missing ephy-favicon-cache.xml file. Fixes bug #121483.
2003-09-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_load): Don't abort on missing ephy-favicon-cache.xml file. Fixes bug #121483.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-favicon-cache.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c
index d5b7374b3..8bd8ccf8d 100644
--- a/embed/ephy-favicon-cache.c
+++ b/embed/ephy-favicon-cache.c
@@ -129,7 +129,11 @@ ephy_favicon_cache_load (EphyFaviconCache *eb)
return;
doc = xmlParseFile (eb->priv->xml_file);
- g_assert (doc != NULL);
+ if (doc == NULL)
+ {
+ g_warning ("Failed to load favicon cache.\n");
+ return;
+ }
root = xmlDocGetRootElement (doc);