diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2020-12-12 17:59:45 +0000 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2020-12-12 17:59:45 +0000 |
commit | d2cd34969a7052b83aa38e4a16836b3c3619599a (patch) | |
tree | b02d12dff8328b1bfb692c66022aaf9d03b06452 | |
parent | 975603d74fb65a28f9c53e572597147bfabf7246 (diff) | |
download | glib-d2cd34969a7052b83aa38e4a16836b3c3619599a.tar.gz |
gparam: Fix transfer annotation for g_param_spec_internal()
`GParamSpec`s are floating by default.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-rw-r--r-- | gobject/gparam.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gobject/gparam.c b/gobject/gparam.c index b90b468cf..948c22dfe 100644 --- a/gobject/gparam.c +++ b/gobject/gparam.c @@ -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, |