#include <tny-camel-pop-store-account.h>
#include <tny-folder-stats.h>
#include <string.h>
-#ifdef MODEST_HILDON_VERSION_0
+#ifdef MODEST_HAVE_HILDON0_WIDGETS
#include <hildon-widgets/hildon-file-system-info.h>
#else
#include <hildon/hildon-file-system-info.h>
/* FIXME: for debugging.
* Let's keep this because it is very useful for debugging. */
url = tny_account_get_url_string (TNY_ACCOUNT(tny_account));
- /* printf ("DEBUG %s:\n account-url: %s\n", __FUNCTION__, url); */
+ printf ("DEBUG %s:\n account-url: %s\n", __FUNCTION__, url);
g_free (url);
/***********************/
TnyAccount *result = modest_tny_account_new_from_server_account (
account_mgr, account_data);
-
+
modest_account_mgr_free_server_account_data (account_mgr, account_data);
return result;
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;
void modest_tny_account_set_parent_modest_account_name_for_server_account (TnyAccount *self, const gchar* parent_modest_acount_name)
{
g_object_set_data_full (G_OBJECT(self), "modest_account",
- (gpointer*) g_strdup (parent_modest_acount_name), g_free);
+ (gpointer) g_strdup (parent_modest_acount_name), g_free);
}