ges: Fix various g-i warnings

This commit is contained in:
Sebastian Dröge 2015-12-26 09:43:11 +01:00
parent f1c823ef60
commit 4997c455f4
7 changed files with 11 additions and 12 deletions

View file

@ -756,7 +756,7 @@ ges_asset_set_proxy (GESAsset * asset, GESAsset * proxy)
* ges_asset_list_proxies: * ges_asset_list_proxies:
* @asset: The #GESAsset to get proxies from * @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. * used is always the first in that list.
*/ */
GList * GList *

View file

@ -136,7 +136,7 @@ ges_extractable_set_asset (GESExtractable * self, GESAsset * asset)
* ges_extractable_get_id: * ges_extractable_get_id:
* @self: The #GESExtractable * @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 * gchar *
ges_extractable_get_id (GESExtractable * self) ges_extractable_get_id (GESExtractable * self)

View 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 * "asset-added" signal to get the asset when it finally gets added to
* @project * @project
* *
* Returns: The newly created #GESAsset * Returns: (transfer full): The newly created #GESAsset
*/ */
GESAsset * GESAsset *
ges_project_create_asset_sync (GESProject * project, const gchar * id, ges_project_create_asset_sync (GESProject * project, const gchar * id,

View file

@ -89,7 +89,7 @@ gboolean ges_project_save (GESProject * project,
gboolean ges_project_load (GESProject * project, gboolean ges_project_load (GESProject * project,
GESTimeline * timeline, GESTimeline * timeline,
GError **error); GError **error);
GESProject * ges_project_new (const gchar *id); GESProject * ges_project_new (const gchar *uri);
gchar * ges_project_get_uri (GESProject *project); gchar * ges_project_get_uri (GESProject *project);
GESAsset * ges_project_get_asset (GESProject * project, GESAsset * ges_project_get_asset (GESProject * project,
const gchar *id, const gchar *id,

View 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 * @self: a #GESTrackElement
* @pspec: The #GParamSpec that specifies the property you want to get * @pspec: The #GParamSpec that specifies the property you want to get
* @value: (out): return location for the value * @value: (out): return location for the value
@ -1366,7 +1366,7 @@ not_found:
/** /**
* ges_timeline_element_get_child_property: * ges_timeline_element_get_child_property:
* @object: The origin #GESTimelineElement * @self: The origin #GESTimelineElement
* @property_name: The name of the property * @property_name: The name of the property
* @value: (out): return location for the property value, it will * @value: (out): return location for the property value, it will
* be initialized if it is initialized with 0 * 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 * 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 * name. If you don't do so, you will get the first element found, having
* this property and the and the corresponding GParamSpec. * 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 * takes the real object to set property on
* @pspec: (out) (allow-none) (transfer full): pointer to take the #GParamSpec * @pspec: (out) (allow-none) (transfer full): pointer to take the #GParamSpec
* describing the property * describing the property

View file

@ -3579,7 +3579,7 @@ ges_timeline_is_empty (GESTimeline * timeline)
* *
* Retrieve the layer with @priority as a priority * 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 * Since 1.6
*/ */

View file

@ -264,7 +264,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
G_TYPE_NONE, 1, GST_TYPE_CONTROL_BINDING); G_TYPE_NONE, 1, GST_TYPE_CONTROL_BINDING);
/** /**
* GESTrackElement::control-binding-added: * GESTrackElement::control-binding-removed:
* @track_element: a #GESTrackElement * @track_element: a #GESTrackElement
* @control_binding: the #GstControlBinding that has been added * @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 * is added for a child property of @track_element
*/ */
ges_track_element_signals[CONTROL_BINDING_REMOVED] = 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_SIGNAL_RUN_FIRST, 0, NULL, NULL, g_cclosure_marshal_generic,
G_TYPE_NONE, 1, GST_TYPE_CONTROL_BINDING); G_TYPE_NONE, 1, GST_TYPE_CONTROL_BINDING);
@ -1477,7 +1477,6 @@ ges_track_element_edit (GESTrackElement * object,
* ges_track_element_remove_control_binding: * ges_track_element_remove_control_binding:
* @object: the #GESTrackElement on which to set a control binding * @object: the #GESTrackElement on which to set a control binding
* @property_name: The name of the property to control. * @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. * Removes a #GstControlBinding from @object.
* *
@ -1523,7 +1522,7 @@ ges_track_element_remove_control_binding (GESTrackElement * object,
/** /**
* ges_track_element_set_control_source: * ges_track_element_set_control_source:
* @object: the #GESTrackElement on which to set a control binding * @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. * @property_name: The name of the property to control.
* @binding_type: The type of binding to create. Only "direct" is available for now. * @binding_type: The type of binding to create. Only "direct" is available for now.
* *