diff options
author | Xan Lopez <xan@igalia.com> | 2012-05-08 19:20:33 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-05-08 19:20:33 +0800 |
commit | 616fe15f7781921ec5d71fdcda76476137058a0f (patch) | |
tree | 5adc6788f018ae05a19f38ddf51d226e4f315795 /tests/ephy-web-view-test.c | |
parent | 6800fb02791cf40681e91a5824e6fde586e5604f (diff) | |
download | gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar.gz gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar.bz2 gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar.lz gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar.xz gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar.zst gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.zip |
Ensure private profile dirs actually do exist.
Perhaps PRIVATE_PROFILE should implicitly add ENSURE_EXISTS, seems
logical. Do this for new.
Diffstat (limited to 'tests/ephy-web-view-test.c')
-rw-r--r-- | tests/ephy-web-view-test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c index ee2af1f97..eb0bffd53 100644 --- a/tests/ephy-web-view-test.c +++ b/tests/ephy-web-view-test.c @@ -246,7 +246,9 @@ main (int argc, char *argv[]) ephy_debug_init (); ephy_embed_prefs_init (); - if (!ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_PRIVATE_PROFILE, NULL)) { + if (!ephy_file_helpers_init (NULL, + EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, + NULL)) { g_debug ("Something wrong happened with ephy_file_helpers_init()"); return -1; } |