priv = MODEST_ACCOUNT_PROTOCOL_GET_PRIVATE (self);
if (priv->account_options) {
+ g_object_unref (priv->account_options);
priv->account_options = NULL;
}
priv->account_options = tny_list_copy (list);
account_name);
modest_account_settings_dialog_load_settings (dialog, settings);
- /* TODO: Those methods should be removed from the
- interface and moved to specific implementations */
-/* modest_account_settings_dialog_switch_to_user_info (dialog); */
-/* modest_account_settings_dialog_check_allow_changes (dialog); */
-
- /* TODO: review this. When the dialog is closed, reconnect */
- /* g_signal_connect (dialog, "response", */
- /* G_CALLBACK (on_account_settings_dialog_response), */
- /* self); */
-
/* Close dialog on response */
g_signal_connect_swapped (dialog,
"response",