X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-account-protocol.c;h=38ec0c36628f7ef75991f1f0949ac4f74aca8b8d;hb=619df73dc4f23ab868a5647f390aff73453b25bd;hp=44b0e536e60e4d009fbfe9a5aed34188e358e5e7;hpb=cc379b2109f5c1b1a70419454d1a0e53c26559e6;p=modest diff --git a/src/modest-account-protocol.c b/src/modest-account-protocol.c index 44b0e53..38ec0c3 100644 --- a/src/modest-account-protocol.c +++ b/src/modest-account-protocol.c @@ -337,6 +337,7 @@ modest_account_protocol_set_account_options (ModestAccountProtocol *self, 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); @@ -442,16 +443,6 @@ modest_account_protocol_get_account_settings_dialog (ModestAccountProtocol *self 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",