- * tny_account_store_get_session:
- * @self: a TnyAccountStore instance
- *
- * retrieve current tinymail camel session
- *
- * Returns: current tinymail camel session
+ * modest_tny_account_store_get_tny_account_by_account
+ * @self: a ModestTnyAccountStore instance
+ * @account_name: an account name
+ * @type: the tny account type
+ *
+ * get the tny account corresponding to one of the server_accounts for account with @account_name
+ *
+ * Returns: the tnyaccount or NULL in case it's not found or error,
+ * g_object_unref when it's no longer needed