aboutsummaryrefslogtreecommitdiffstats
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
parentda7687116d1225786cca781daa8c8875170d1325 (diff)
downloadgsoc2013-evolution-1ffe0b3a24d3fcb776be7c17ee957ba1f09f7522.tar
gsoc2013-evolution-1ffe0b3a24d3fcb776be7c17ee957ba1f09f7522.tar.gz
gsoc2013-evolution-1ffe0b3a24d3fcb776be7c17ee957ba1f09f7522.tar.bz2
gsoc2013-evolution-1ffe0b3a24d3fcb776be7c17ee957ba1f09f7522.tar.lz
gsoc2013-evolution-1ffe0b3a24d3fcb776be7c17ee957ba1f09f7522.tar.xz
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
-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