diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-09-17 07:26:17 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-09-17 07:26:17 +0000 |
commit | 71f191b2a609e291a3afcf726ab8aacab572637b (patch) | |
tree | fa744ee9944df82548c6afb33451455c4ce7c61a /src/inc.c | |
parent | 24c2edfeacce97b6e4c3783c53cbd2532088af95 (diff) |
introduced multi-threading.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2255 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/inc.c')
-rw-r--r-- | src/inc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1564,13 +1564,18 @@ static gint inc_autocheck_func(gpointer data) { MainWindow *mainwin = (MainWindow *)data; + gdk_threads_enter(); + if (inc_lock_count) { debug_print("autocheck is locked.\n"); inc_autocheck_timer_set_interval(1000); + gdk_threads_leave(); return FALSE; } inc_all_account_mail(mainwin, TRUE); + gdk_threads_leave(); + return FALSE; } |