summaryrefslogtreecommitdiff
path: root/gir/gio-2.0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gir/gio-2.0.c')
-rw-r--r--gir/gio-2.0.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index 23112b3d..8192554c 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -39548,7 +39548,8 @@
* callback to @callback, with @task as the callback's `user_data`.
*
* It will set the @source’s name to the task’s name (as set with
- * g_task_set_name()), if one has been set.
+ * g_task_set_name()), if one has been set on the task and the source doesn’t
+ * yet have a name.
*
* This takes a reference on @task until @source is destroyed.
*
@@ -40161,6 +40162,19 @@
/**
+ * g_task_set_static_name:
+ * @task: a #GTask
+ * @name: (nullable): a human readable name for the task. Must be a string literal
+ *
+ * Sets @task’s name, used in debugging and profiling.
+ *
+ * This is a variant of g_task_set_name() that avoids copying @name.
+ *
+ * Since: 2.76
+ */
+
+
+/**
* g_task_set_task_data:
* @task: the #GTask
* @task_data: (nullable): task-specific data