2007-07-02 Murray Cumming <murrayc@murrayc.com
authorMurray Cumming <murrayc@murrayc.com>
Mon, 2 Jul 2007 14:50:40 +0000 (14:50 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 2 Jul 2007 14:50:40 +0000 (14:50 +0000)
commit65aed723f936a94579a16855f66d58f87e74eeec
tree0a7d068ccb9abb577ec992ea554a9aca16f0470e
parent64f177a769cd653985ca4569ef3feab8fe20e647
2007-07-02  Murray Cumming  <murrayc@murrayc.com

* src/modest-tny-account.c: Added util_run_in_main_thread_and_wait()
which uses an idlen handler and mainloop to ensure that the function
is called in the main thread.
(on_connection_status_changed): Use util_run_in_main_thread_and_wait()
to make sure that we call attempt the connection in the mainloop only,
which might solve some hangs.

pmo-trunk-r2533
ChangeLog2
src/modest-tny-account.c