mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
fixed a check for node not being NULL.
Wed Feb 13 17:22:37 2002 Tim Janik <timj@gtk.org> * gtype.c (g_type_value_table_peek): fixed a check for node not being NULL.
This commit is contained in:
parent
713ce83c53
commit
241b6981e3
@ -1,3 +1,7 @@
|
||||
Wed Feb 13 17:22:37 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtype.c (g_type_value_table_peek): fixed a check for node not being NULL.
|
||||
|
||||
Wed Feb 13 06:53:50 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gparam.c: remove extraneous redefinition of G_PARAM_SPEC_CLASS().
|
||||
|
@ -2757,7 +2757,7 @@ g_type_value_table_peek (GType type)
|
||||
* but we should only get called with referenced types anyway
|
||||
*/
|
||||
data = node ? node->data : NULL;
|
||||
if (node->mutatable_check_cache)
|
||||
if (node && node->mutatable_check_cache)
|
||||
return data->common.value_table;
|
||||
|
||||
G_READ_LOCK (&type_rw_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user