projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a return_if_fail confusion
[platform/upstream/glib.git]
/
gobject
/
gtype.c
diff --git
a/gobject/gtype.c
b/gobject/gtype.c
index
a11ef27
..
dc58524
100644
(file)
--- a/
gobject/gtype.c
+++ b/
gobject/gtype.c
@@
-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