[Bug 789319] Fix up GIR annotations
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Jan 27 10:45:35 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=789319
Tim-Philipp Müller <t.i.m at zen.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #362050|reviewed |committed
status| |
--- Comment #13 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Comment on attachment 362050
--> https://bugzilla.gnome.org/attachment.cgi?id=362050
gst: Fix up a bunch of GIR annotations
Pushed this minus the bits mentioned by Sebastian in comment 7 where you remove
the nullable return value annotation.
diff --git a/gst/gstghostpad.c b/gst/gstghostpad.c
index 478d2742b..36068ccdb 100644
--- a/gst/gstghostpad.c
+++ b/gst/gstghostpad.c
@@ -769,7 +769,7 @@ set_target_failed:
* Create a new ghostpad based on @templ, without setting a target. The
* direction will be taken from the @templ.
*
- * Returns: (transfer floating) (nullable): a new #GstPad, or %NULL in
+ * Returns: (transfer floating): a new #GstPad, or %NULL in
* case of an error.
*/
GstPad *
diff --git a/gst/gstpad.c b/gst/gstpad.c
index a5475ab66..c1d4cd64e 100644
--- a/gst/gstpad.c
+++ b/gst/gstpad.c
@@ -827,7 +827,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
+ * Returns: (transfer floating): a new #GstPad, or %NULL in
* case of an error.
*
* MT safe.
@@ -849,7 +849,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
+ * Returns: (transfer floating): a new #GstPad, or %NULL in
* case of an error.
*/
GstPad *
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list