From 71f191b2a609e291a3afcf726ab8aacab572637b Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 17 Sep 2009 07:26:17 +0000 Subject: introduced multi-threading. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2255 ee746299-78ed-0310-b773-934348b2243d --- src/sigstatus.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sigstatus.c') diff --git a/src/sigstatus.c b/src/sigstatus.c index 5d4cafa1..d4d23723 100644 --- a/src/sigstatus.c +++ b/src/sigstatus.c @@ -161,10 +161,14 @@ static gint timeout_cb(gpointer data) { GpgmegtkSigStatus hd = data; + gdk_threads_enter(); + hd->running = 0; hd->timeout_id_valid = 0; do_destroy(hd); + gdk_threads_leave(); + return FALSE; } -- cgit v1.2.3