Fix a return_if_fail confusion

This slipped through my editing of the patch.
This commit is contained in:
Matthias Clasen 2014-10-11 15:53:13 -04:00
parent 011bf876e7
commit 58ec89ea7c

View File

@ -3847,7 +3847,7 @@ g_type_get_instance_count (GType type)
TypeNode *node;
node = lookup_type_node_I (type);
g_return_if_fail (node != NULL);
g_return_val_if_fail (node != NULL, 0);
return g_atomic_int_get (&node->instance_count);
#else