init_default_settings (modest_runtime_get_conf ());
- if (!modest_init_local_folders(NULL /* means $HOME */)) {
+ if (!modest_init_local_folders()) {
modest_init_uninit ();
g_printerr ("modest: failed to init local folders\n");
return FALSE;
/**
* modest_init_local_folders:
- * @location_filepath: The location at which the local-folders directory should be created,
- * or NULL to specify $HOME.
*
* create the Local Folders folder under cache, if they
* do not exist yet.
* they were created, FALSE otherwise
*/
gboolean
-modest_init_local_folders (const gchar* location_filepath)
+modest_init_local_folders ()
{
- gchar *maildir_path = modest_local_folder_info_get_maildir_path (location_filepath);
+ gchar *maildir_path = modest_local_folder_info_get_maildir_path (NULL);
/* Create each of the standard on-disk folders.
* Per-account outbox folders will be created when first needed. */