pad: Constructors are all not nullable

They can't possibly return NULL except in case of assertions.
This commit is contained in:
Sebastian Dröge 2019-01-29 15:50:06 +02:00 committed by Sebastian Dröge
parent 92b38d2a00
commit f6816d5412

View file

@ -832,8 +832,7 @@ gst_pad_get_property (GObject * object, guint prop_id,
* will be assigned.
* This function makes a copy of the name so you can safely free the name.
*
* Returns: (transfer floating) (nullable): a new #GstPad, or %NULL in
* case of an error.
* Returns: (transfer floating): a new #GstPad.
*
* MT safe.
*/
@ -854,8 +853,7 @@ gst_pad_new (const gchar * name, GstPadDirection direction)
* will be assigned.
* This function makes a copy of the name so you can safely free the name.
*
* Returns: (transfer floating) (nullable): a new #GstPad, or %NULL in
* case of an error.
* Returns: (transfer floating): a new #GstPad.
*/
GstPad *
gst_pad_new_from_template (GstPadTemplate * templ, const gchar * name)
@ -880,8 +878,7 @@ gst_pad_new_from_template (GstPadTemplate * templ, const gchar * name)
* will be assigned.
* This function makes a copy of the name so you can safely free the name.
*
* Returns: (transfer floating) (nullable): a new #GstPad, or %NULL in
* case of an error.
* Returns: (transfer floating): a new #GstPad.
*/
GstPad *
gst_pad_new_from_static_template (GstStaticPadTemplate * templ,