diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2001-10-24 04:57:23 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-24 04:57:23 +0800 |
commit | 1ffe0b3a24d3fcb776be7c17ee957ba1f09f7522 (patch) | |
tree | 3860fcabb26ffb23e150e7e0cb5af3f0128bac63 /mail/mail-session.c | |
parent | da7687116d1225786cca781daa8c8875170d1325 (diff) | |
download | gsoc2013-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/mail-session.c')
-rw-r--r-- | mail/mail-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |