[epiphany] ephy-bookmarks-import: missing return after if



commit d888437f3edd95b6505bb998294e1b129576917a
Author: Xan Lopez <xan igalia com>
Date:   Thu Jun 14 08:40:10 2012 +0200

    ephy-bookmarks-import: missing return after if
    
    This was making the file-check test never run unless we were in
    lock-down mode.

 src/bookmarks/ephy-bookmarks-import.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmarks-import.c b/src/bookmarks/ephy-bookmarks-import.c
index 5d83f55..bde9a59 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]