diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-11-06 13:21:43 +0100 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2020-11-10 14:32:13 +0100 |
commit | 38a0706e76586e12231df884530114cf6a3e1e11 (patch) | |
tree | 761e3e954e8721efd7f4aec745bd742ff96da775 /app/flatpak-builtins-info.c | |
parent | 97767f1a6988051a89600805e47009ec55b84c2c (diff) | |
download | flatpak-38a0706e76586e12231df884530114cf6a3e1e11.tar.gz |
decomposed: Return decomposed from find_installed_pref/ref
Diffstat (limited to 'app/flatpak-builtins-info.c')
-rw-r--r-- | app/flatpak-builtins-info.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/flatpak-builtins-info.c b/app/flatpak-builtins-info.c index 039fbdb9..a139077f 100644 --- a/app/flatpak-builtins-info.c +++ b/app/flatpak-builtins-info.c @@ -137,14 +137,10 @@ flatpak_builtin_info (int argc, char **argv, GCancellable *cancellable, GError * dir = flatpak_find_installed_pref (pref, kinds, opt_arch, default_branch, search_all, opt_user, opt_system, opt_installations, - &ref_str, cancellable, error); + &ref, cancellable, error); if (dir == NULL) return FALSE; - ref = flatpak_decomposed_new_from_ref (ref_str, error); - if (ref == NULL) - return FALSE; - deploy_data = flatpak_dir_get_deploy_data (dir, flatpak_decomposed_get_ref (ref), FLATPAK_DEPLOY_VERSION_CURRENT, cancellable, error); if (deploy_data == NULL) return FALSE; |