aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 5d7f47cda..f08097422 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -660,7 +660,7 @@ ephy_shell_init (EphyShell *shell)
/* Initialize the favicon cache as early as possible, or further
calls to webkit_web_context_get_favicon_database will fail. */
mode = ephy_embed_shell_get_mode (ephy_embed_shell_get_default ());
- favicon_db_path = g_build_filename (mode == EPHY_EMBED_SHELL_MODE_PRIVATE ?
+ favicon_db_path = g_build_filename (EPHY_EMBED_SHELL_MODE_HAS_PRIVATE_PROFILE (mode) ?
ephy_dot_dir () : g_get_user_cache_dir (),
g_get_prgname (), "icondatabase", NULL);