ges: Fix various g-i warnings
authorSebastian Dröge <sebastian@centricular.com>
Sat, 26 Dec 2015 08:43:11 +0000 (09:43 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 26 Dec 2015 08:43:23 +0000 (09:43 +0100)
ges/ges-asset.c
ges/ges-extractable.c
ges/ges-project.c
ges/ges-project.h
ges/ges-timeline-element.c
ges/ges-timeline.c
ges/ges-track-element.c

index 3d24617..fb1c596 100644 (file)
@@ -756,7 +756,7 @@ ges_asset_set_proxy (GESAsset * asset, GESAsset * proxy)
  * ges_asset_list_proxies:
  * @asset: The #GESAsset to get proxies from
  *
- * Returns: The list of proxies @asset has. Note that the default asset to be
+ * Returns: (element-type GESAsset) (transfer none): The list of proxies @asset has. Note that the default asset to be
  * used is always the first in that list.
  */
 GList *
index 788376c..dad10a0 100644 (file)
@@ -136,7 +136,7 @@ ges_extractable_set_asset (GESExtractable * self, GESAsset * asset)
  * ges_extractable_get_id:
  * @self: The #GESExtractable
  *
- * Returns: (transfer full) The #id of the associated #GESAsset, free with #g_free
+ * Returns: (transfer full): The #id of the associated #GESAsset, free with #g_free
  */
 gchar *
 ges_extractable_get_id (GESExtractable * self)
index 15025f6..0a6f49f 100644 (file)
@@ -732,7 +732,7 @@ ges_project_create_asset (GESProject * project, const gchar * id,
  * "asset-added" signal to get the asset when it finally gets added to
  * @project
  *
- * Returns: The newly created #GESAsset
+ * Returns: (transfer full): The newly created #GESAsset
  */
 GESAsset *
 ges_project_create_asset_sync (GESProject * project, const gchar * id,
index acd0386..e23c991 100644 (file)
@@ -89,7 +89,7 @@ gboolean  ges_project_save         (GESProject * project,
 gboolean  ges_project_load         (GESProject * project,
                                     GESTimeline * timeline,
                                     GError **error);
-GESProject * ges_project_new       (const gchar *id);
+GESProject * ges_project_new       (const gchar *uri);
 gchar      * ges_project_get_uri   (GESProject *project);
 GESAsset   * ges_project_get_asset (GESProject * project,
                                     const gchar *id,
index 721243a..271540d 100644 (file)
@@ -1263,7 +1263,7 @@ ges_timeline_element_add_child_property (GESTimelineElement * self,
 }
 
 /**
- * ges_track_element_get_child_property_by_pspec:
+ * ges_timeline_element_get_child_property_by_pspec:
  * @self: a #GESTrackElement
  * @pspec: The #GParamSpec that specifies the property you want to get
  * @value: (out): return location for the value
@@ -1366,7 +1366,7 @@ not_found:
 
 /**
 * ges_timeline_element_get_child_property:
-* @object: The origin #GESTimelineElement
+* @self: The origin #GESTimelineElement
 * @property_name: The name of the property
 * @value: (out): return location for the property value, it will
 * be initialized if it is initialized with 0
@@ -1421,7 +1421,7 @@ not_found:
  *     proper GParamSpec in case various GstElement-s contain the same property
  *     name. If you don't do so, you will get the first element found, having
  *     this property and the and the corresponding GParamSpec.
- * @element: (out) (allow-none) (transfer full): pointer to a #GstElement that
+ * @child: (out) (allow-none) (transfer full): pointer to a #GstElement that
  *     takes the real object to set property on
  * @pspec: (out) (allow-none) (transfer full): pointer to take the #GParamSpec
  *     describing the property
index 8eabdbd..1c805b4 100644 (file)
@@ -3579,7 +3579,7 @@ ges_timeline_is_empty (GESTimeline * timeline)
  *
  * Retrieve the layer with @priority as a priority
  *
- * Returns: A #GESLayer or %NULL if no layer with @priority was found
+ * Returns: (transfer full): A #GESLayer or %NULL if no layer with @priority was found
  *
  * Since 1.6
  */
index 7dd2e2d..16f5f07 100644 (file)
@@ -264,7 +264,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
       G_TYPE_NONE, 1, GST_TYPE_CONTROL_BINDING);
 
   /**
-   * GESTrackElement::control-binding-added:
+   * GESTrackElement::control-binding-removed:
    * @track_element: a #GESTrackElement
    * @control_binding: the #GstControlBinding that has been added
    *
@@ -272,7 +272,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
    * is added for a child property of @track_element
    */
   ges_track_element_signals[CONTROL_BINDING_REMOVED] =
-      g_signal_new ("control-binding-removed", G_TYPE_FROM_CLASS (klass),
+      g_signal_new ("control-binding-reomved", G_TYPE_FROM_CLASS (klass),
       G_SIGNAL_RUN_FIRST, 0, NULL, NULL, g_cclosure_marshal_generic,
       G_TYPE_NONE, 1, GST_TYPE_CONTROL_BINDING);
 
@@ -1477,7 +1477,6 @@ ges_track_element_edit (GESTrackElement * object,
  * ges_track_element_remove_control_binding:
  * @object: the #GESTrackElement on which to set a control binding
  * @property_name: The name of the property to control.
- * @binding_type: The type of binding to create. Only "direct" is available for now.
  *
  * Removes a #GstControlBinding from @object.
  *
@@ -1523,7 +1522,7 @@ ges_track_element_remove_control_binding (GESTrackElement * object,
 /**
  * ges_track_element_set_control_source:
  * @object: the #GESTrackElement on which to set a control binding
- * @source: (element-type GstControlSource): the #GstControlSource to set on the binding.
+ * @source: the #GstControlSource to set on the binding.
  * @property_name: The name of the property to control.
  * @binding_type: The type of binding to create. Only "direct" is available for now.
  *