summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2016-11-23 08:38:49 -0300
committerThibault Saunier <tsaunier@gnome.org>2016-11-28 10:39:09 -0300
commit064568f9ec799546abc5ce226372618cd091d16f (patch)
tree56a20e9da16b529467fefba929d26fdad1bb920e
parentd89fb51e5662719f85de3c97b3d5160090a58030 (diff)
validate: Fix GI warnings
-rw-r--r--validate/gst/validate/gst-validate-monitor-factory.c2
-rw-r--r--validate/gst/validate/gst-validate-reporter.c6
-rw-r--r--validate/gst/validate/gst-validate-runner.c2
-rw-r--r--validate/gst/validate/gst-validate-scenario.c6
-rw-r--r--validate/gst/validate/gst-validate-scenario.h2
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 56ffc92..e343273 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 253b6ea..9f7331e 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 7fd9ef4..49c3cf2 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 735334e..2dbdb2a 100644
--- a/validate/gst/validate/gst-validate-scenario.c
+++ b/validate/gst/validate/gst-validate-scenario.c
@@ -3428,7 +3428,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
*
@@ -3473,7 +3473,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
*
@@ -3566,7 +3566,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 a4fbc7d..8bee69d 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
*/