projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec31612
)
Document that _complete() et al. ref the GSimpleAsyncResult
author
Will Thompson
<will@willthompson.co.uk>
Sat, 14 Aug 2010 03:20:06 +0000
(23:20 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 14 Aug 2010 03:20:06 +0000
(23:20 -0400)
gio/gsimpleasyncresult.c
patch
|
blob
|
history
diff --git
a/gio/gsimpleasyncresult.c
b/gio/gsimpleasyncresult.c
index
dd4df90
..
eb47118
100644
(file)
--- 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)