GSimpleAsyncResult: add error-taking variants
authorMatthias Clasen <mclasen@redhat.com>
Mon, 1 Nov 2010 02:38:38 +0000 (22:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 1 Nov 2010 02:38:38 +0000 (22:38 -0400)
commit85ba8596e235f5f7f351447d20a3bc1baa8402b8
tree365bb0646919a86da5f39528ad22ace863e21cf9
parent7887103193de4230a1ccb8dc7100816e523e5b9c
GSimpleAsyncResult: add error-taking variants

Add g_simple_async_result_new_take_error and
g_simple_async_result_take_error, which take over ownership of the
given error. Based on a patch by Christian Persch.

https://bugzilla.gnome.org/show_bug.cgi?id=629247
gio/gio.symbols
gio/gsimpleasyncresult.c
gio/gsimpleasyncresult.h