aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-06-14 14:40:10 +0800
committerXan Lopez <xan@igalia.com>2012-06-14 14:45:00 +0800
commitd888437f3edd95b6505bb998294e1b129576917a (patch)
tree4fcbe0ad2921864ecfdf91ad9e84fa9c8ab431db
parent979434a28ef2025f66655ceb83c7fbfd9fb48d7f (diff)
downloadgsoc2013-epiphany-d888437f3edd95b6505bb998294e1b129576917a.tar.gz
gsoc2013-epiphany-d888437f3edd95b6505bb998294e1b129576917a.tar.zst
gsoc2013-epiphany-d888437f3edd95b6505bb998294e1b129576917a.zip
ephy-bookmarks-import: missing return after if
This was making the file-check test never run unless we were in lock-down mode.
-rw-r--r--src/bookmarks/ephy-bookmarks-import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks-import.c b/src/bookmarks/ephy-bookmarks-import.c
index 5d83f5538..bde9a597d 100644
--- a/src/bookmarks/ephy-bookmarks-import.c
+++ b/src/bookmarks/ephy-bookmarks-import.c
@@ -980,6 +980,7 @@ ephy_bookmarks_import_rdf (EphyBookmarks *bookmarks,
if (g_settings_get_boolean (EPHY_SETTINGS_LOCKDOWN,
EPHY_PREFS_LOCKDOWN_BOOKMARK_EDITING))
+ return FALSE;
if (g_file_test (filename, G_FILE_TEST_EXISTS) == FALSE)
return FALSE;