mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 00:12:19 +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:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user