2007-06-13 Murray Cumming <murrayc@murrayc.com>
+ * src/modest-init.c: (modest_init_init_core),
+ (modest_init_local_folders): Fixed compilation errors.
+
+2007-06-13 Murray Cumming <murrayc@murrayc.com>
+
* libmodest-dbus-client/libmodest-dbus-client-1.0.pc.in:
Remove unnecessary lib/include, though it is good in principle when needed.
init_default_settings (modest_runtime_get_conf ());
- if (!modest_init_local_folders()) {
+ if (!modest_init_local_folders(NULL)) {
modest_init_uninit ();
g_printerr ("modest: failed to init local folders\n");
return FALSE;
if (location_filepath) {
/* For instance, for memory card, just create the top-level .modest folder: */
if (g_mkdir_with_parents (maildir_path, 0755) < 0) {
- g_printerr ("modest: %s: failed to create %s\n", __FUNCTION__, dir);
+ g_printerr ("modest: %s: failed to create %s\n", __FUNCTION__, location_filepath);
g_free (maildir_path);
return FALSE;
}
modest_tny_account_new_for_local_folders (ModestAccountMgr *account_mgr, TnySessionCamel *session, const gchar* location_filepath)
{
/* Make sure that the directories exist: */
- if (location_filepath == NULL) /* Only for the special local folders account, not for the memory card. */
- modest_init_local_folders ();
+ modest_init_local_folders (location_filepath);
TnyStoreAccount *tny_account;
CamelURL *url;