mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Fix for g_datalist_id_set_full() use (error is deeper down, some internal
Fix for g_datalist_id_set_full() use (error is deeper down, some internal funcs weren't checking that things were initialized.)
This commit is contained in:
@@ -174,6 +174,9 @@ g_data_set_internal (GData **datalist,
|
||||
{
|
||||
register GData *list;
|
||||
|
||||
if (!g_dataset_location_ht)
|
||||
g_data_initialize ();
|
||||
|
||||
list = *datalist;
|
||||
if (!data)
|
||||
{
|
||||
|
Reference in New Issue
Block a user