aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-20 22:53:12 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-20 22:53:12 +0800
commitf9932330e74c2e2abcbec925f5a971fc546d122f (patch)
tree4d5b8ecbb750deec3fe3f99a820dd15cfd834fff /mail/mail-callbacks.c
parent5352cbb678ba2b4a40b767565a52cf24794dfeac (diff)
downloadgsoc2013-evolution-f9932330e74c2e2abcbec925f5a971fc546d122f.tar.gz
gsoc2013-evolution-f9932330e74c2e2abcbec925f5a971fc546d122f.tar.zst
gsoc2013-evolution-f9932330e74c2e2abcbec925f5a971fc546d122f.zip
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
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c2
1 files changed, 1 insertions, 1 deletions
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));
}