aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-threads.c')
-rw-r--r--mail/mail-threads.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/mail-threads.c b/mail/mail-threads.c
index 8df6d3f5e0..5d1b56975c 100644
--- a/mail/mail-threads.c
+++ b/mail/mail-threads.c
@@ -716,7 +716,7 @@ read_msg (GIOChannel * source, GIOCondition condition, gpointer userdata)
case ERROR:
DEBUG (("*** Message -- ERROR\n"));
- /* show_error (msg); */
+ show_error (msg);
break;
/* Don't fall through; dispatch_func does the FINISHED
@@ -806,9 +806,14 @@ show_error (com_msg_t * msg)
/* Show the dialog. */
- GDK_THREADS_ENTER ();
+ /* Do not GDK_THREADS_ENTER; we're inside the read_msg
+ * handler which takes care of this for us. Oh, if
+ * only GDK_THREADS_ENTER were recursive...
+ */
+
+ /*GDK_THREADS_ENTER ();*/
gnome_dialog_run_and_close (GNOME_DIALOG (err_dialog));
- GDK_THREADS_LEAVE ();
+ /*GDK_THREADS_LEAVE ();*/
/* Allow the other thread to proceed */