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:
9eda9d9
)
Use g_param_spec_ref_sink instead of separate ref, sink
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 5 Jun 2011 03:43:05 +0000
(23:43 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 5 Jun 2011 03:43:05 +0000
(23:43 -0400)
gobject/gobject.c
patch
|
blob
|
history
diff --git
a/gobject/gobject.c
b/gobject/gobject.c
index
e5c6b03
..
a4b2e33
100644
(file)
--- a/
gobject/gobject.c
+++ b/
gobject/gobject.c
@@
-404,8
+404,7
@@
install_property_internal (GType g_type,
return;
}
- g_param_spec_ref (pspec);
- g_param_spec_sink (pspec);
+ g_param_spec_ref_sink (pspec);
PARAM_SPEC_SET_PARAM_ID (pspec, property_id);
g_param_spec_pool_insert (pspec_pool, pspec, g_type);
}