From 616fe15f7781921ec5d71fdcda76476137058a0f Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 8 May 2012 13:20:33 +0200 Subject: Ensure private profile dirs actually do exist. Perhaps PRIVATE_PROFILE should implicitly add ENSURE_EXISTS, seems logical. Do this for new. --- tests/ephy-embed-single-test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/ephy-embed-single-test.c') diff --git a/tests/ephy-embed-single-test.c b/tests/ephy-embed-single-test.c index f5e4b8e50..4441c8dc5 100644 --- a/tests/ephy-embed-single-test.c +++ b/tests/ephy-embed-single-test.c @@ -87,7 +87,9 @@ main (int argc, char *argv[]) ephy_embed_prefs_init (); _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_PRIVATE); - if (!ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_PRIVATE_PROFILE, NULL)) { + if (!ephy_file_helpers_init (NULL, + EPHY_FILE_HELPERS_ENSURE_EXISTS | EPHY_FILE_HELPERS_PRIVATE_PROFILE, + NULL)) { g_debug ("Something wrong happened with ephy_file_helpers_init()"); return -1; } -- cgit v1.2.3