mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
gparam: Fix transfer annotation for g_param_spec_internal()
`GParamSpec`s are floating by default. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
975603d74f
commit
d2cd34969a
@ -439,7 +439,8 @@ g_param_spec_is_valid_name (const gchar *name)
|
||||
* @blurb, which should be a somewhat longer description, suitable for
|
||||
* e.g. a tooltip. The @nick and @blurb should ideally be localized.
|
||||
*
|
||||
* Returns: (type GObject.ParamSpec): (transfer full): a newly allocated #GParamSpec instance
|
||||
* Returns: (type GObject.ParamSpec): (transfer floating): a newly allocated
|
||||
* #GParamSpec instance, which is initially floating
|
||||
*/
|
||||
gpointer
|
||||
g_param_spec_internal (GType param_type,
|
||||
|
Loading…
Reference in New Issue
Block a user