Add EAsyncClosure.
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 8 May 2012 14:46:33 +0000 (10:46 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 8 May 2012 14:46:33 +0000 (10:46 -0400)
commitc14aa79d7616075ce8a16f297be20118deb19746
treefad42f28d6fccbf58c9a4a55dfa19e215ec99995
parent374b718710740873db5d9ed326d1d640609ef155
Add EAsyncClosure.

EAsyncClosure provides a simple way to run an asynchronous function
synchronously without blocking a running GMainLoop or using threads.

Merging this API from the account-mgmt branch as it has proven stable
and quite convenient.  I've seen this pattern in use throughout GIO,
but to my knowledge it has never been formalized like this.
docs/reference/libedataserver/libedataserver-sections.txt
libedataserver/e-data-server-util.c
libedataserver/e-data-server-util.h