From f6816d5412e564e56fe502ebbd5cc11afebd4ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 29 Jan 2019 15:50:06 +0200 Subject: [PATCH] pad: Constructors are all not nullable They can't possibly return NULL except in case of assertions. --- gst/gstpad.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index 98aec5f883..473c2a3a0a 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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,