aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ephy-download-test.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-05-08 02:27:33 +0800
committerXan Lopez <xan@igalia.com>2012-05-08 02:29:24 +0800
commit3847db0803addac9f0b90dc86767d8f65768d4ad (patch)
treebaa17c614dc6b90333eeca6ab47f2629c9303546 /tests/ephy-download-test.c
parent8c65eb746306499465f23057dbd4dea484c953aa (diff)
downloadgsoc2013-epiphany-3847db0803addac9f0b90dc86767d8f65768d4ad.tar
gsoc2013-epiphany-3847db0803addac9f0b90dc86767d8f65768d4ad.tar.gz
gsoc2013-epiphany-3847db0803addac9f0b90dc86767d8f65768d4ad.tar.bz2
gsoc2013-epiphany-3847db0803addac9f0b90dc86767d8f65768d4ad.tar.lz
gsoc2013-epiphany-3847db0803addac9f0b90dc86767d8f65768d4ad.tar.xz
gsoc2013-epiphany-3847db0803addac9f0b90dc86767d8f65768d4ad.tar.zst
gsoc2013-epiphany-3847db0803addac9f0b90dc86767d8f65768d4ad.zip
Allow for more fine-grained file helpers init
Since we are about to migrate our profile dir, allow file helpers init to not ensure the profile dir exists (it was hardcoded until now). For this we get rid of the ugly boolean parameters and add a flags parameter, which preserves the old behaviors and allows for this new option. We update all the callers in the tree.
Diffstat (limited to 'tests/ephy-download-test.c')
-rw-r--r--tests/ephy-download-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c
index b1c4171bf..3fd208af5 100644
--- a/tests/ephy-download-test.c
+++ b/tests/ephy-download-test.c
@@ -166,7 +166,7 @@ main (int argc, char *argv[])
ephy_embed_prefs_init ();
_ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_PRIVATE);
- if (!ephy_file_helpers_init (NULL, TRUE, FALSE, NULL)) {
+ if (!ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_PRIVATE_PROFILE, NULL)) {
g_debug ("Something wrong happened with ephy_file_helpers_init()");
return -1;
}