X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-account-protocol.c;h=38ec0c36628f7ef75991f1f0949ac4f74aca8b8d;hp=066fe09b281371dac84b17632dd0a98830182e19;hb=3c74fbc75625d548f9fd3c3b770720c332e88f0a;hpb=627c4af6ac85444cc3256fa568baf4a8d62178ae diff --git a/src/modest-account-protocol.c b/src/modest-account-protocol.c index 066fe09..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,20 +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); */ - - /* Set modal */ - modest_window_mgr_set_modal (modest_runtime_get_window_mgr (), - GTK_WINDOW (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",