From f9932330e74c2e2abcbec925f5a971fc546d122f Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 20 May 2002 14:53:12 +0000 Subject: Always unref the composer [even when we are destroying it], otherwise we * mail-callbacks.c (composer_sent_cb): Always unref the composer [even when we are destroying it], otherwise we leak it and we get the nasty bug where you can't quit. svn path=/trunk/; revision=16941 --- mail/mail-callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-callbacks.c') diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 7cc1dfbf4d..b1d8174542 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -355,9 +355,9 @@ composer_sent_cb (char *uri, CamelMimeMessage *message, gboolean sent, void *dat } else { e_msg_composer_set_enable_autosave (send->composer, TRUE); gtk_widget_show (GTK_WIDGET (send->composer)); - gtk_object_unref (GTK_OBJECT (send->composer)); } + gtk_object_unref (GTK_OBJECT (send->composer)); g_free (send); camel_object_unref (CAMEL_OBJECT (message)); } -- cgit