diff options
author | Alba Mendez <me@alba.sh> | 2021-06-04 02:46:06 +0300 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-06-04 07:48:39 +0300 |
commit | b296e914a57b376609459dffeb843f4808484c24 (patch) | |
tree | c0a0c93778336576303fa6902e32721ea792dcb9 | |
parent | aaaf85054f1235d2c22ab19ad909f98edf96cacd (diff) |
introspection: annotate handle_message ownership
(fixup/improvement to !747) Correct the ownership
annotation for `message` in the `handle_message` vfunc,
and remove the equivalent phrase elsewhere (following
rules of !747.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/830>
-rw-r--r-- | gst/gstbin.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/gstbin.h b/gst/gstbin.h index 029213075c..ed6f29dfd9 100644 --- a/gst/gstbin.h +++ b/gst/gstbin.h @@ -165,8 +165,7 @@ struct _GstBin { * to update the list of children in the bin. * * The #GstBinClass::handle_message method can be overridden to implement custom - * message handling. handle_message takes ownership of the message, just like - * gst_element_post_message(). + * message handling. * * #GstBinClass::deep_element_added will be called when a new element has been * added to any bin inside this bin, so it will also be called if a new child @@ -228,7 +227,7 @@ struct _GstBinClass { /** * GstBinClass::handle_message: * @bin: the #GstBin - * @message: the message to be handled + * @message: (transfer full): the message to be handled * * Method to handle a message from the children. */ |