mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Use g_param_spec_ref_sink instead of separate ref, sink
This commit is contained in:
parent
9eda9d9195
commit
3b242bc5e9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user