From 8493b18e8cd2a422b58fdcc4566cc546b4edadbd Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 23 Nov 2016 08:38:49 -0300 Subject: [PATCH] validate: Fix GI warnings --- validate/gst/validate/gst-validate-monitor-factory.c | 2 +- validate/gst/validate/gst-validate-reporter.c | 6 ++++++ validate/gst/validate/gst-validate-runner.c | 2 +- validate/gst/validate/gst-validate-scenario.c | 6 +++--- validate/gst/validate/gst-validate-scenario.h | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/validate/gst/validate/gst-validate-monitor-factory.c b/validate/gst/validate/gst-validate-monitor-factory.c index 56ffc92b0b..e343273f3e 100644 --- a/validate/gst/validate/gst-validate-monitor-factory.c +++ b/validate/gst/validate/gst-validate-monitor-factory.c @@ -44,7 +44,7 @@ * gst_validate_monitor_factory_create: * @target: The #GstObject to create a #GstValidateMonitor for * @runner: The #GstValidateRunner to use for the new monitor - * @parent: (optional) (nullable): The parent of the new monitor + * @parent: (nullable): The parent of the new monitor * * Create a new monitor for @target and starts monitoring it. * diff --git a/validate/gst/validate/gst-validate-reporter.c b/validate/gst/validate/gst-validate-reporter.c index 253b6ea6d8..9f7331e5df 100644 --- a/validate/gst/validate/gst-validate-reporter.c +++ b/validate/gst/validate/gst-validate-reporter.c @@ -135,6 +135,12 @@ gst_validate_reporter_get_reporting_level (GstValidateReporter * reporter) return ret; } +/** + * gst_validate_reporter_get_pipeline: + * @reporter: The reporter to get the pipeline from + * + * Returns: (transfer full) (allow-none): The #GstPipeline + */ GstPipeline * gst_validate_reporter_get_pipeline (GstValidateReporter * reporter) { diff --git a/validate/gst/validate/gst-validate-runner.c b/validate/gst/validate/gst-validate-runner.c index 7fd9ef495d..49c3cf2739 100644 --- a/validate/gst/validate/gst-validate-runner.c +++ b/validate/gst/validate/gst-validate-runner.c @@ -684,7 +684,7 @@ gst_validate_runner_get_reports_count (GstValidateRunner * runner) * gst_validate_runner_get_reports: * @runner: The #GstValidateRunner * - * Return: (element-type GstValidate.Report)(transfer full): all the reports + * Return: (element-type GstValidateReport)(transfer full): all the reports */ GList * gst_validate_runner_get_reports (GstValidateRunner * runner) diff --git a/validate/gst/validate/gst-validate-scenario.c b/validate/gst/validate/gst-validate-scenario.c index bea451a363..8deddfca9e 100644 --- a/validate/gst/validate/gst-validate-scenario.c +++ b/validate/gst/validate/gst-validate-scenario.c @@ -3426,7 +3426,7 @@ gst_validate_action_get_scenario (GstValidateAction * action) * retrieved with #gst_plugin_get_name when the action type * is register inside a plugin. * @function: (scope notified): The function to be called to execute the action - * @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidate.ActionParameter): The #GstValidateActionParameter usable as parameter of the type + * @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidateActionParameter): The #GstValidateActionParameter usable as parameter of the type * @description: A description of the new type * @flags: The #GstValidateActionTypeFlags to set on the new action type * @@ -3471,7 +3471,7 @@ _free_action_types (GList * action_types) * new implementation will be used and returned. * @type_name: The name of the new action type to add * @function: (scope notified): The function to be called to execute the action - * @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidate.ActionParameter): The #GstValidateActionParameter usable as parameter of the type + * @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidateActionParameter): The #GstValidateActionParameter usable as parameter of the type * @description: A description of the new type * @flags: The #GstValidateActionTypeFlags to be set on the new action type * @@ -3564,7 +3564,7 @@ gst_validate_list_action_types (void) /** * gst_validate_print_action_types: * @wanted_types: (array length=num_wanted_types): (optional): List of types to be printed - * @num_wanted_types: (optional): Length of @wanted_types + * @num_wanted_types: Length of @wanted_types * * Prints the action types details wanted in @wanted_types * diff --git a/validate/gst/validate/gst-validate-scenario.h b/validate/gst/validate/gst-validate-scenario.h index a4fbc7d76d..8bee69df14 100644 --- a/validate/gst/validate/gst-validate-scenario.h +++ b/validate/gst/validate/gst-validate-scenario.h @@ -160,7 +160,7 @@ typedef enum * @name: The name of the new action type to add * @implementer_namespace: The namespace of the implementer of the action type * @execute: The function to be called to execute the action - * @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidate.ActionParameter): The #GstValidateActionParameter usable as parameter of the type + * @parameters: (allow-none) (array zero-terminated=1) (element-type GstValidateActionParameter): The #GstValidateActionParameter usable as parameter of the type * @description: A description of the new type * @flags: The flags of the action type */