diff options
Diffstat (limited to 'gir/gio-2.0.c')
-rw-r--r-- | gir/gio-2.0.c | 4 |
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 { |