From 0b9b384a2bbd6257dae54ed1b5ee08f100fa32aa Mon Sep 17 00:00:00 2001
From: Peter Williams <peterw@src.gnome.org>
Date: Thu, 24 Aug 2000 17:22:12 +0000
Subject: Fix GDK_THREADS_entering and leaving, hopefully once and for all.
 Genericify the recursive-store-loading. Load stores when they're added to the
 config page.

svn path=/trunk/; revision=5005
---
 mail/session.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

(limited to 'mail/session.c')

diff --git a/mail/session.c b/mail/session.c
index b76e096abb..2d5a01a9d2 100644
--- a/mail/session.c
+++ b/mail/session.c
@@ -45,14 +45,9 @@ mail_request_dialog (const char *prompt, gboolean secret, const char *key,
 					       request_callback, &ans, NULL);
 		if (!dialog)
 			return NULL;
-		GDK_THREADS_ENTER ();
-		if (gnome_dialog_run_and_close (GNOME_DIALOG (dialog)) == -1 ||
-		    ans == NULL) {
-			GDK_THREADS_LEAVE ();
+		if (mail_dialog_run_and_close (GNOME_DIALOG (dialog)) == -1 ||
+		    ans == NULL)
 			return NULL;
-		}
-
-		GDK_THREADS_LEAVE ();
 	} else {
 		if (!mail_op_get_password ((char *) prompt, secret, &ans))
 			return NULL;
-- 
cgit v1.2.3