aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-03 19:59:29 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-03 19:59:29 +0800
commit14e235f2eb930212dcdf8eca1dccfdcf56cd933e (patch)
tree1c1e1384fb89da0736165309e5f0fb042189fafb /embed
parent1e88407c82ff067a9db36c532e4fdde521770331 (diff)
downloadgsoc2013-epiphany-14e235f2eb930212dcdf8eca1dccfdcf56cd933e.tar
gsoc2013-epiphany-14e235f2eb930212dcdf8eca1dccfdcf56cd933e.tar.gz
gsoc2013-epiphany-14e235f2eb930212dcdf8eca1dccfdcf56cd933e.tar.bz2
gsoc2013-epiphany-14e235f2eb930212dcdf8eca1dccfdcf56cd933e.tar.lz
gsoc2013-epiphany-14e235f2eb930212dcdf8eca1dccfdcf56cd933e.tar.xz
gsoc2013-epiphany-14e235f2eb930212dcdf8eca1dccfdcf56cd933e.tar.zst
gsoc2013-epiphany-14e235f2eb930212dcdf8eca1dccfdcf56cd933e.zip
Do not assert on corrupted xml, just warn. Put back views shadows for now.
2003-05-03 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-history.c: (ephy_history_load): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_load): * src/ephy-history-window.c: (ephy_history_window_construct): Do not assert on corrupted xml, just warn. Put back views shadows for now.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index 4c5cf6cbe..5ea747080 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -202,7 +202,7 @@ ephy_history_load (EphyHistory *eb)
return;
doc = xmlParseFile (eb->priv->xml_file);
- g_assert (doc != NULL);
+ g_return_if_fail (doc != NULL);
root = xmlDocGetRootElement (doc);