[epiphany/wip/tingping/profile-migration: 2/2] Keep sharing safe browsing data in default cache dir



commit 7add9370f08646262d33b6c16ac18d7d6011740f
Author: Patrick Griffis <pgriffis igalia com>
Date:   Mon Jan 7 08:57:14 2019 -0500

    Keep sharing safe browsing data in default cache dir
    
    Since this is not read by the web process it will work fine and
    sharing saves some space.

 embed/ephy-embed-shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 7504392dd..666cce29a 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -804,7 +804,7 @@ ephy_embed_shell_get_global_gsb_service (EphyEmbedShell *shell)
     char *db_path;
 
     api_key = g_settings_get_string (EPHY_SETTINGS_WEB, EPHY_PREFS_WEB_GSB_API_KEY);
-    db_path = g_build_filename (ephy_cache_dir (), EPHY_GSB_FILE, NULL);
+    db_path = g_build_filename (ephy_default_cache_dir (), EPHY_GSB_FILE, NULL);
     priv->global_gsb_service = ephy_gsb_service_new (api_key, db_path);
 
     g_free (api_key);


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