projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
011bf87
)
Fix a return_if_fail confusion
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 11 Oct 2014 19:53:13 +0000
(15:53 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 11 Oct 2014 19:53:13 +0000
(15:53 -0400)
This slipped through my editing of the patch.
gobject/gtype.c
patch
|
blob
|
history
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