[glib] Document that _complete() et al. ref the GSimpleAsyncResult
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Document that _complete() et al. ref the GSimpleAsyncResult
- Date: Sat, 14 Aug 2010 03:36:20 +0000 (UTC)
commit 7a32e34f7c46a4e1e2fe6f35490b1f8469ed08b7
Author: Will Thompson <will willthompson co uk>
Date: Fri Aug 13 23:20:06 2010 -0400
Document that _complete() et al. ref the GSimpleAsyncResult
gio/gsimpleasyncresult.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/gsimpleasyncresult.c b/gio/gsimpleasyncresult.c
index dd4df90..eb47118 100644
--- a/gio/gsimpleasyncresult.c
+++ b/gio/gsimpleasyncresult.c
@@ -560,6 +560,9 @@ g_simple_async_result_set_error (GSimpleAsyncResult *simple,
* the thread where the asynchronous result was to be delivered, as it
* invokes the callback directly. If you are in a different thread use
* g_simple_async_result_complete_in_idle().
+ *
+ * Calling this function takes a reference to @simple for as long as
+ * is needed to complete the call.
**/
void
g_simple_async_result_complete (GSimpleAsyncResult *simple)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]