From 9e2996818308a7c7ff4ff298b429614259d8e090 Mon Sep 17 00:00:00 2001 From: Sid Date: Wed, 6 Nov 2024 11:34:09 +0000 Subject: [PATCH] gtask: Fix comment for auto task naming via 'g_task_set_source_tag()' --- gio/gtask.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gio/gtask.c b/gio/gtask.c index 21b133492..d202e397b 100644 --- a/gio/gtask.c +++ b/gio/gtask.c @@ -1126,8 +1126,7 @@ void * 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 - * other than the one it was constructed in. It is called automatically by - * g_task_set_source_tag() if not called already. + * other than the one it was constructed in. * * Since: 2.60 */ @@ -1155,6 +1154,9 @@ void * * 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 */ void