Merge branch 'fix-gtask-auto-set-name-doc' into 'main'

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

See merge request GNOME/glib!4383
This commit is contained in:
Philip Withnall 2024-11-06 11:34:09 +00:00
commit 9949067a69

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