From: Sergio Villar Senin Date: Thu, 30 Oct 2008 10:50:01 +0000 (+0000) Subject: * Fixes NB#91120, fixes a memory leak, removed invalid comments X-Git-Tag: git_migration_finished~1076 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=b4d53de55cf1dec1eef9e16530f620f1bccdf03c * Fixes NB#91120, fixes a memory leak, removed invalid comments pmo-trunk-r6192 --- 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",