gdataset: drop "key_id" argument from GDataListUpdateAtomicFunc

None of the users actually care about this parameter. And it's unlikely
that they ever will. Also, the passed "key_id" is the argument from
g_datalist_id_update_atomic(). If the caller really cared to know the
"key_id" in the callback, they could pass it as additional user data.
This commit is contained in:
Thomas Haller
2024-03-06 08:06:46 +01:00
parent b4224a5d6d
commit 6ce489bf83
4 changed files with 7 additions and 10 deletions

View File

@@ -367,8 +367,7 @@ weak_ref_data_unlock (WeakRefData *wrdata)
}
static gpointer
weak_ref_data_get_or_create_cb (GQuark key_id,
gpointer *data,
weak_ref_data_get_or_create_cb (gpointer *data,
GDestroyNotify *destroy_notify,
gpointer user_data)
{