mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user