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/gstpad.h | |
parent | eebff7b0487bffbac775208ef25a66b19a35d4ab (diff) |
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/gstpad.h')
-rw-r--r-- | gst/gstpad.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/gstpad.h b/gst/gstpad.h index bfb8b1a29..4963ef01d 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -1186,6 +1186,8 @@ GstPad* gst_pad_new_from_static_template (GstStaticPadTemplate *templ, const g * Can return %NULL if the pad did not have a parent. * * MT safe. + * + * Returns: (nullable): the parent */ #define gst_pad_get_parent(pad) gst_object_get_parent (GST_OBJECT_CAST (pad)) |