diff --git a/gst/gstdevice.c b/gst/gstdevice.c index e394aec599..36faf652d6 100644 --- a/gst/gstdevice.c +++ b/gst/gstdevice.c @@ -264,8 +264,8 @@ gst_device_reconfigure_element (GstDevice * device, GstElement * element) /** * gst_device_has_classesv: * @device: a #GstDevice - * @classes: a %NULL terminated array of klasses to match, only match if all - * classes are matched + * @classes: (array zero-terminated=1): a %NULL terminated array of klasses to match, only match if all + * classes are matched * * Check if @factory matches all of the given classes * diff --git a/gst/gstdevicemonitorfactory.c b/gst/gstdevicemonitorfactory.c index 1820599693..f8c9826433 100644 --- a/gst/gstdevicemonitorfactory.c +++ b/gst/gstdevicemonitorfactory.c @@ -459,8 +459,8 @@ gst_device_monitor_factory_get_metadata_keys (GstDeviceMonitorFactory * factory) /** * gst_device_monitor_factory_has_classesv: * @factory: a #GstDeviceMonitorFactory - * @classes: a %NULL terminated array of klasses to match, only match if all - * classes are matched + * @classes: (array zero-terminated=1): a %NULL terminated array of + * klasses to match, only match if all classes are matched * * Check if @factory matches all of the given classes * diff --git a/gst/gstevent.c b/gst/gstevent.c index 386a1eb8d3..22179685b5 100644 --- a/gst/gstevent.c +++ b/gst/gstevent.c @@ -348,10 +348,11 @@ gst_event_get_structure (GstEvent * event) * * Get a writable version of the structure. * - * Returns: The structure of the event. The structure is still - * owned by the event, which means that you should not free it and - * that the pointer becomes invalid when you free the event. - * This function checks if @event is writable and will never return %NULL. + * Returns: (transfer none): The structure of the event. The structure + * is still owned by the event, which means that you should not free + * it and that the pointer becomes invalid when you free the event. + * This function checks if @event is writable and will never return + * %NULL. * * MT safe. */