navigation: Add missing annotation to send_event_simple
authorVivienne Watermeier <vwatermeier@igalia.com>
Thu, 24 Mar 2022 12:01:52 +0000 (13:01 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 24 Mar 2022 18:07:16 +0000 (18:07 +0000)
Adds the missing "transfer full" annotation for the event argument.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2017>

subprojects/gst-plugins-base/gst-libs/gst/video/navigation.c
subprojects/gst-plugins-base/gst-libs/gst/video/navigation.h

index a0396be..a187186 100644 (file)
@@ -199,7 +199,7 @@ gst_navigation_send_command (GstNavigation * navigation,
 /**
  * gst_navigation_send_event_simple:
  * @navigation: The navigation interface instance
- * @event: The event to send
+ * @event: (transfer full): The event to send
  *
  * Sends an event to the navigation interface.
  * Since: 1.22
index 626a3f9..e789c25 100644 (file)
@@ -64,6 +64,8 @@ struct _GstNavigationInterface {
 
   /**
    * GstNavigationInterface::send_event_simple:
+   * @navigation: The navigation interface instance
+   * @event: (transfer full): The event to send
    *
    * sending a navigation event.
    *