mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_param_spec_ref (pspec);
|
g_param_spec_ref_sink (pspec);
|
||||||
g_param_spec_sink (pspec);
|
|
||||||
PARAM_SPEC_SET_PARAM_ID (pspec, property_id);
|
PARAM_SPEC_SET_PARAM_ID (pspec, property_id);
|
||||||
g_param_spec_pool_insert (pspec_pool, pspec, g_type);
|
g_param_spec_pool_insert (pspec_pool, pspec, g_type);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user