diff options
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/mail-accounts.c | 1 | ||||
-rw-r--r-- | mail/mail-config.c | 1 |
3 files changed, 8 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 9c2b8c1168..3f1613d04c 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2003-01-21 Jeffrey Stedfast <fejj@ximian.com> + + * mail-config.c (mail_config_remove_account): Don't unref the + account object, e_list_remove() apparently handles this for us. + + * mail-accounts.c (account_delete_clicked): Don't unref the + confirm dialog, it was already destroyed. + 2003-01-20 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail.schemas: Default to hiding deleted diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index afcc22f83b..f3c16f50b2 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -228,7 +228,6 @@ account_delete_clicked (GtkButton *button, gpointer user_data) ans = gtk_dialog_run ((GtkDialog *) confirm); gtk_widget_destroy (confirm); - g_object_unref (confirm); if (ans == GTK_RESPONSE_YES) { int len; diff --git a/mail/mail-config.c b/mail/mail-config.c index b370c96932..a6be7afa8d 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -886,7 +886,6 @@ mail_config_remove_account (EAccount *account) } e_list_remove ((EList *) config->accounts, account); - g_object_unref (account); mail_config_save_accounts (); } |