summaryrefslogtreecommitdiff
path: root/common/flatpak-utils.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-12 16:43:16 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-12 16:43:16 +0200
commit2ef6d9d5d999a5e3a6b970c8a4a68b52daf987f4 (patch)
treedcf0d3c0932d64edca21044e293e5a756d7920cc /common/flatpak-utils.c
parente23bc2b7a6d7e4fe609f24762c5d48fc60ba42f4 (diff)
downloadxdg-app-2ef6d9d5d999a5e3a6b970c8a4a68b52daf987f4.tar.gz
common: Remove FlatpakDirError in favour of FlatpakError from the lib
Diffstat (limited to 'common/flatpak-utils.c')
-rw-r--r--common/flatpak-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c
index f20b9e3..dfa62c3 100644
--- a/common/flatpak-utils.c
+++ b/common/flatpak-utils.c
@@ -650,7 +650,7 @@ flatpak_find_deploy_for_ref (const char *ref,
system_dir = flatpak_dir_get_system ();
deploy = flatpak_dir_load_deployed (user_dir, ref, NULL, cancellable, &my_error);
- if (deploy == NULL && g_error_matches (my_error, FLATPAK_DIR_ERROR, FLATPAK_DIR_ERROR_NOT_DEPLOYED))
+ if (deploy == NULL && g_error_matches (my_error, FLATPAK_ERROR, FLATPAK_ERROR_NOT_INSTALLED))
{
g_clear_error (&my_error);
deploy = flatpak_dir_load_deployed (system_dir, ref, NULL, cancellable, &my_error);