Commit 58ec89ea authored by Matthias Clasen's avatar Matthias Clasen

Fix a return_if_fail confusion

This slipped through my editing of the patch.
parent 011bf876
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment