aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-threads.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-11 22:53:58 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-11 22:53:58 +0800
commit7c6aa4e01fa21323afef08b3229d267b8d340298 (patch)
treebf4c6b78605d6d6d4d6a1f4b6ebdb50acc199579 /mail/mail-threads.c
parentf0cbd6a20b8764be5524e5e4c666d33b22028b12 (diff)
downloadgsoc2013-evolution-7c6aa4e01fa21323afef08b3229d267b8d340298.tar.gz
gsoc2013-evolution-7c6aa4e01fa21323afef08b3229d267b8d340298.tar.zst
gsoc2013-evolution-7c6aa4e01fa21323afef08b3229d267b8d340298.zip
Crash fix on user-doesn't-press-escape.
svn path=/trunk/; revision=4734
Diffstat (limited to 'mail/mail-threads.c')
-rw-r--r--mail/mail-threads.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-threads.c b/mail/mail-threads.c
index ab85daf1c6..bdfa7b260f 100644
--- a/mail/mail-threads.c
+++ b/mail/mail-threads.c
@@ -1029,6 +1029,8 @@ show_error_clicked (GtkObject * obj)
{
gchar *old_message;
+ gtk_signal_disconnect_by_func (GTK_OBJECT (obj), show_error_clicked, NULL);
+
/* Restore the old message */
old_message = gtk_object_get_data (obj, "old_message");
gtk_label_set_text (GTK_LABEL (queue_window_message),
@@ -1113,6 +1115,8 @@ get_password_clicked (GnomeDialog * dialog, gint button, gpointer user_data)
com_msg_t *msg = (com_msg_t *) user_data;
gchar *old_message;
+ gtk_signal_disconnect_by_func (GTK_OBJECT (dialog), get_password_deleted, user_data);
+
/* Restore the old message */
old_message = gtk_object_get_data (GTK_OBJECT (dialog), "old_message");
gtk_label_set_text (GTK_LABEL (queue_window_message),