mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 04:41:16 +00:00
ges-uri-asset: Annotate async/sync/finish functions correctly
Due to bad naming, gobject-introspection can't figure these out itself and prints a warning. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7118>
This commit is contained in:
parent
43bf898f2d
commit
1159d7144a
1 changed files with 2 additions and 2 deletions
|
@ -587,7 +587,7 @@ ges_uri_clip_asset_is_image (GESUriClipAsset * self)
|
|||
}
|
||||
|
||||
/**
|
||||
* ges_uri_clip_asset_new:
|
||||
* ges_uri_clip_asset_new: (sync-func request_sync) (finish-func finish):
|
||||
* @uri: The URI of the file for which to create a #GESUriClipAsset
|
||||
* @cancellable: optional %GCancellable object, %NULL to ignore.
|
||||
* @callback: (scope async): a #GAsyncReadyCallback to call when the initialization is finished
|
||||
|
@ -657,7 +657,7 @@ ges_uri_clip_asset_finish (GAsyncResult * res, GError ** error)
|
|||
}
|
||||
|
||||
/**
|
||||
* ges_uri_clip_asset_request_sync:
|
||||
* ges_uri_clip_asset_request_sync: (async-func new):
|
||||
* @uri: The URI of the file for which to create a #GESUriClipAsset.
|
||||
* You can also use multi file uris for #GESMultiFileSource.
|
||||
* @error: An error to be set in case something wrong happens or %NULL
|
||||
|
|
Loading…
Reference in a new issue