aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r--src/bookmarks/ephy-bookmarks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 99e5d5078..9004dd86d 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -246,7 +246,7 @@ ephy_bookmarks_load (EphyBookmarks *eb)
return FALSE;
doc = xmlParseFile (eb->priv->xml_file);
- g_assert (doc != NULL);
+ g_return_val_if_fail (doc != NULL, FALSE);
root = xmlDocGetRootElement (doc);