summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/flatpak-installation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/flatpak-installation.c b/lib/flatpak-installation.c
index 16f8a7f..c9e7201 100644
--- a/lib/flatpak-installation.c
+++ b/lib/flatpak-installation.c
@@ -390,7 +390,7 @@ flatpak_installation_get_installed_ref (FlatpakInstallation *self,
ref, NULL, cancellable);
if (deploy == NULL)
{
- g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,
+ g_set_error (error, FLATPAK_ERROR, FLATPAK_ERROR_NOT_INSTALLED,
"Ref %s no installed", ref);
return NULL;
}
@@ -429,7 +429,7 @@ flatpak_installation_get_current_installed_app (FlatpakInstallation *self,
if (deploy == NULL)
{
- g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,
+ g_set_error (error, FLATPAK_ERROR, FLATPAK_ERROR_NOT_INSTALLED,
"App %s no installed", name);
return NULL;
}