Commented out bugfix for setting new accounts online - regression problem
authorPhilip Van Hoof <philip@codeminded.be>
Wed, 27 Jun 2007 14:29:52 +0000 (14:29 +0000)
committerPhilip Van Hoof <philip@codeminded.be>
Wed, 27 Jun 2007 14:29:52 +0000 (14:29 +0000)
pmo-trunk-r2462

src/modest-tny-account.c

index 640094b..6779724 100644 (file)
@@ -421,6 +421,7 @@ modest_tny_account_new_from_account (ModestAccountMgr *account_mgr, const gchar
 
         modest_account_mgr_free_account_data (account_mgr, account_data);
 
 
         modest_account_mgr_free_account_data (account_mgr, account_data);
 
+/*
         TnyAccountStore *astore = (TnyAccountStore *) modest_runtime_get_account_store ();
         if (astore) {
                TnyDevice *device = tny_account_store_get_device (astore);
         TnyAccountStore *astore = (TnyAccountStore *) modest_runtime_get_account_store ();
         if (astore) {
                TnyDevice *device = tny_account_store_get_device (astore);
@@ -432,6 +433,7 @@ modest_tny_account_new_from_account (ModestAccountMgr *account_mgr, const gchar
                        g_print ("Error connecting: %s\n", err->message);
                g_object_unref (device);
         } 
                        g_print ("Error connecting: %s\n", err->message);
                g_object_unref (device);
         } 
+*/
 
        return tny_account;
 }
 
        return tny_account;
 }