aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2001-10-24 04:57:23 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-24 04:57:23 +0800
commit1ffe0b3a24d3fcb776be7c17ee957ba1f09f7522 (patch)
tree3860fcabb26ffb23e150e7e0cb5af3f0128bac63 /mail
parentda7687116d1225786cca781daa8c8875170d1325 (diff)
downloadgsoc2013-evolution-1ffe0b3a24d3fcb776be7c17ee957ba1f09f7522.tar.gz
gsoc2013-evolution-1ffe0b3a24d3fcb776be7c17ee957ba1f09f7522.tar.zst
gsoc2013-evolution-1ffe0b3a24d3fcb776be7c17ee957ba1f09f7522.zip
(do_user_message): Setup the message_destroy_id when we setup the
destroy handler so it doesn't get called twice. svn path=/trunk/; revision=13955
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/mail-session.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 61738bea97..e4bc6dbf3d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -29,6 +29,8 @@
timeout, dont do anything.
(timeout_timeout): Properly honour the result, remove the timout
if it returns false.
+ (do_user_message): Setup the message_destroy_id when we setup the
+ destroy handler so it doesn't get called twice.
2001-10-23 Jeffrey Stedfast <fejj@ximian.com>
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 662d80acb7..9f557b05ea 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -513,7 +513,7 @@ do_user_message (struct _mail_msg *mm)
/* We only need to wait for the result if we allow cancel otherwise show but send result back instantly */
if (m->allow_cancel) {
gtk_signal_connect((GtkObject*)message_dialogue, "clicked", user_message_clicked, m);
- gtk_signal_connect((GtkObject*)message_dialogue, "destroy", user_message_destroy, m);
+ message_destroy_id = gtk_signal_connect((GtkObject*)message_dialogue, "destroy", user_message_destroy, m);
if (m->ismain)
gnome_dialog_run_and_close ((GnomeDialog *)message_dialogue);
else
ass='insertions'>+0 * Take over maintainership with Dmitry's blessing.adrian2003-07-311-1/+1 * Mark BROKEN on 5.x: does not compilekris2003-07-311-1/+8 * Clear moonlight beckons.ade2003-03-071-0/+1 * Update to 2.7.6.demon2002-08-031-29/+5 * BROKEN: Does not buildkris2002-05-181-0/+2 * Change MAINTAINER field.demon2000-11-131-1/+1 * update with the new PORTNAME/PORTVERSION variablesmharo2000-04-091-3/+3 * Update to version 2.2.7.steve1999-12-311-20/+21 * Change Id->FreeBSD.obrien1999-08-251-1/+1 * Update to version 1.2.0.steve1999-05-031-4/+4 * update to 1.1mharo1999-04-271-3/+21