aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-01-22 03:12:37 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-22 03:12:37 +0800
commit947522009ef1794a2fcb5830e1639bf858cfe027 (patch)
treeca990db5eef104aed0a5e90cd5ed08612b198ca8
parent16b54010c94762d2032c7a61c6b2847f8ba2c3ea (diff)
downloadgsoc2013-evolution-947522009ef1794a2fcb5830e1639bf858cfe027.tar
gsoc2013-evolution-947522009ef1794a2fcb5830e1639bf858cfe027.tar.gz
gsoc2013-evolution-947522009ef1794a2fcb5830e1639bf858cfe027.tar.bz2
gsoc2013-evolution-947522009ef1794a2fcb5830e1639bf858cfe027.tar.lz
gsoc2013-evolution-947522009ef1794a2fcb5830e1639bf858cfe027.tar.xz
gsoc2013-evolution-947522009ef1794a2fcb5830e1639bf858cfe027.tar.zst
gsoc2013-evolution-947522009ef1794a2fcb5830e1639bf858cfe027.zip
Don't unref the account object, e_list_remove() apparently handles this
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. svn path=/trunk/; revision=19541
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-accounts.c1
-rw-r--r--mail/mail-config.c1
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 ();
}