* Returns: the name of the selected account or NULL if none is
* selected
**/
-const gchar* modest_account_view_get_selected_account (ModestAccountView *account_view);
+gchar* modest_account_view_get_selected_account (ModestAccountView *account_view);
+
+/**
+ * modest_account_view_set_selected_account:
+ * @account_view: a #ModestAccountView
+ * @account_name: The name of the account to select.
+ *
+ * Sets the currently selected account.
+ **/
+/* Not used outside:
+void modest_account_view_select_account (ModestAccountView *account_view,
+ const gchar* account_name);
+*/
G_END_DECLS