Changeset 1703
- Timestamp:
- 03/05/07 21:43:53
- Files:
-
- trunk/libtinymail-camel/tny-camel-folder.c (modified) (1 diff)
- trunk/tests/shared/account-store.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libtinymail-camel/tny-camel-folder.c
r1700 r1703 650 650 priv->store = (CamelStore*) _tny_camel_account_get_service (TNY_CAMEL_ACCOUNT (priv->account)); 651 651 652 if (!priv->store || !CAMEL_IS_STORE (priv->store)) 653 g_error ("Trying to create folder out of invalid account"); 652 /* 653 This is incorrect! TnyTransportAccount's don't need a service to be correct 654 655 if (!priv->store || !CAMEL_IS_STORE (priv->store)) 656 g_warning ("Trying to create folder out of invalid account"); */ 654 657 655 658 return; trunk/tests/shared/account-store.c
r1544 r1703 51 51 per_account_get_pass_func (TnyAccount *account, const gchar *prompt, gboolean *cancel) 52 52 { 53 return g_strdup ("tnytest"); 53 if (strstr (tny_account_get_name (account), "SMTP")) 54 return g_strdup ("unittest"); 55 else 56 return g_strdup ("tnytest"); 54 57 } 55 58 … … 57 60 per_account_forget_pass_func (TnyAccount *account) 58 61 { 59 g_print ("Invalid test account \n");62 g_print ("Invalid test account (password incorrect)\n"); 60 63 return; 61 64 }
