gtask: Fix comment for auto task naming via 'g_task_set_source_tag()'

This commit is contained in:
Sid 2024-11-06 11:34:09 +00:00 committed by Philip Withnall
parent 705832f269
commit 9e29968183

View File

@ -1126,8 +1126,7 @@ void
* name of the #GSource used for idle completion of the task. * name of the #GSource used for idle completion of the task.
* *
* This function may only be called before the @task is first used in a thread * This function may only be called before the @task is first used in a thread
* other than the one it was constructed in. It is called automatically by * other than the one it was constructed in.
* g_task_set_source_tag() if not called already.
* *
* Since: 2.60 * Since: 2.60
*/ */
@ -1155,6 +1154,9 @@ void
* *
* This is a variant of g_task_set_name() that avoids copying @name. * This is a variant of g_task_set_name() that avoids copying @name.
* *
* This function is called automatically by [method@Gio.Task.set_source_tag]
* unless a name is set.
*
* Since: 2.76 * Since: 2.76
*/ */
void void