* src/modest-tny-msg.c
[modest] / src / modest-tny-account.h
index 16fbc4e..1816541 100644 (file)
@@ -76,7 +76,9 @@ modest_tny_account_new_from_account (ModestAccountMgr *account_mgr, const gchar
  * Returns: a TRUE or FALSE in case of error.
  */
 gboolean
-modest_tny_account_update_from_account (TnyAccount *tny_account);
+modest_tny_account_update_from_account (TnyAccount *tny_account,
+                                       TnyGetPassFunc get_pass_func,
+                                       TnyForgetPassFunc forget_pass_func);
 
 
 /**
@@ -122,22 +124,6 @@ modest_tny_account_new_from_server_account_name (ModestAccountMgr *account_mgr,
                                                 TnyGetPassFunc get_pass_func,
                                                 TnyForgetPassFunc forget_pass_func);
 
-#if 0
-/**
- * modest_tny_account_new_from_server_account_name:
- * @tny_account: a valid tny account
- * @account_mgr: a valid account mgr instance
- * @server_account_name: the name of a server account in the configuration system.
- *
- * update the given tny account; note that you cannot change the protocol type
- * 
- * Returns: a new TnyAccount or NULL in case of error.
- */
-gboolean modest_tny_account_update_from_server_account_name (TnyAccount *tny_account,
-                                                            ModestAccountMgr *account_mgr,
-                                                            const gchar *server_account_name);
-#endif
-
 /**
  * modest_tny_account_get_special_folder:
  * @self: a TnyAccount