summaryrefslogtreecommitdiff
path: root/gir/gio-2.0.c
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2022-11-13 14:35:44 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2022-11-13 14:35:44 +0100
commit2861c026587b868bab4730a54345b27bbbd32fcf (patch)
treeb743233d1c7e40f6aaba7dcfc27ea711d120544a /gir/gio-2.0.c
parente95e19b55db856c23fea6a3e4002b4025e9d77fa (diff)
downloadgobject-introspection-2861c026587b868bab4730a54345b27bbbd32fcf.tar.gz
Update glib introspection data
This is based on f64f88baaeaca277687e6231b3cea6d14a26996b
Diffstat (limited to 'gir/gio-2.0.c')
-rw-r--r--gir/gio-2.0.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index 8192554c..407293d3 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -9527,6 +9527,10 @@
* #GTask was constructed to be running at least until the task has completed
* and its data has been freed.
*
+ * If a #GTask has been constructed and its callback set, it is an error to
+ * not call `g_task_return_*()` on it. GLib will warn at runtime if this happens
+ * (since 2.76).
+ *
* Here is an example for using GTask as a GAsyncResult:
* |[<!-- language="C" -->
* typedef struct {