forked from AuroraMiddleware/gtk
update_type_references: Deal with type_refs_ht being NULL
This can apparently happen, and it was breaking make check on my system, by causing it to throw a critical out of g_hash_table_iter_init from here.
This commit is contained in:
parent
e9aeb2fbca
commit
df1d331713
@ -728,6 +728,9 @@ update_type_references (void)
|
||||
|
||||
type_refs_last_serial = serial;
|
||||
|
||||
if (type_refs_ht == NULL)
|
||||
return;
|
||||
|
||||
g_hash_table_iter_init (&iter, type_refs_ht);
|
||||
while (g_hash_table_iter_next (&iter,
|
||||
NULL, &value))
|
||||
|
Loading…
Reference in New Issue
Block a user