diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2019-03-28 13:08:01 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2019-04-15 17:11:48 -0400 |
commit | 61c14b6406257155e0f9b4bb310f3036fc5590c1 (patch) | |
tree | 06cdfbc7621aee33fb0c9b866424fecb30a0a65e | |
parent | 9d4e0640c7e667a208a3c7d37e1a38ca08dd10d9 (diff) |
asset: s/unsure/ensure
-rw-r--r-- | ges/ges-asset.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ges/ges-asset.c b/ges/ges-asset.c index 4c9afd21..bc05fdf7 100644 --- a/ges/ges-asset.c +++ b/ges/ges-asset.c @@ -922,7 +922,7 @@ ges_asset_set_id (GESAsset * asset, const gchar * id) } static GESAsset * -_unsure_material_for_wrong_id (const gchar * wrong_id, GType extractable_type, +_ensure_asset_for_wrong_id (const gchar * wrong_id, GType extractable_type, GError * error) { GESAsset *asset; @@ -994,7 +994,7 @@ ges_asset_request (GType extractable_type, const gchar * id, GError ** error) if (real_id == NULL) { /* We create an asset for that wrong ID so we have a reference that the * user requested it */ - _unsure_material_for_wrong_id (id, extractable_type, lerr); + _ensure_asset_for_wrong_id (id, extractable_type, lerr); real_id = g_strdup (id); } if (lerr) @@ -1138,7 +1138,7 @@ ges_asset_request_async (GType extractable_type, real_id = _check_and_update_parameters (&extractable_type, id, &error); if (error) { - _unsure_material_for_wrong_id (id, extractable_type, error); + _ensure_asset_for_wrong_id (id, extractable_type, error); real_id = g_strdup (id); } @@ -1236,7 +1236,7 @@ ges_asset_needs_reload (GType extractable_type, const gchar * id) real_id = _check_and_update_parameters (&extractable_type, id, &error); if (error) { - _unsure_material_for_wrong_id (id, extractable_type, error); + _ensure_asset_for_wrong_id (id, extractable_type, error); real_id = g_strdup (id); } |