diff options
author | Evan Nemerson <evan@nemerson.com> | 2014-06-11 15:21:34 -0700 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-06-26 18:56:38 +0200 |
commit | 2759882379fb4fd91038be3ff35cc9180e231841 (patch) | |
tree | 4be2e6d0ebbdb93c868d80138f5ec7c592f09655 /gst/gstmeta.c | |
parent | eebff7b0487bffbac775208ef25a66b19a35d4ab (diff) | |
download | gstreamer-2759882379fb4fd91038be3ff35cc9180e231841.tar.gz |
introspection: add missing (nullable) annotations to return values
Support for (nullable) was added to G-I at the same time as nullable
return values. Previous versions of G-I will not mark return values as
nullable, even when an (allow-none) annotation is present, so it is
not necessary to add (allow-none) annotations for compatibility with
older versions of G-I.
https://bugzilla.gnome.org/show_bug.cgi?id=730957
Diffstat (limited to 'gst/gstmeta.c')
-rw-r--r-- | gst/gstmeta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstmeta.c b/gst/gstmeta.c index 0e0aca1aa2..1269c564d4 100644 --- a/gst/gstmeta.c +++ b/gst/gstmeta.c @@ -205,8 +205,8 @@ gst_meta_register (GType api, const gchar * impl, gsize size, * Lookup a previously registered meta info structure by its implementation name * @impl. * - * Returns: (transfer none): a #GstMetaInfo with @impl, or %NULL when no such - * metainfo exists. + * Returns: (transfer none) (nullable): a #GstMetaInfo with @impl, or + * %NULL when no such metainfo exists. */ const GstMetaInfo * gst_meta_get_info (const gchar * impl) |