common: Tweak error code docs

FLATPAK_ERROR_ALREADY_INSTALLED can be returned from, for example,
flatpak_installation_add_remote(), so document that it applies to
remotes not just apps and runtimes.
This commit is contained in:
Phaedrus Leeds 2021-01-25 12:33:52 -08:00 committed by Alexander Larsson
parent 0920e959b5
commit dbe81c90c2

View File

@ -33,7 +33,7 @@ G_BEGIN_DECLS
/* NOTE: If you add an error code below, also update the list in common/flatpak-utils.c */
/**
* FlatpakError:
* @FLATPAK_ERROR_ALREADY_INSTALLED: App/runtime is already installed
* @FLATPAK_ERROR_ALREADY_INSTALLED: App/runtime/remote is already installed
* @FLATPAK_ERROR_NOT_INSTALLED: App/runtime is not installed
* @FLATPAK_ERROR_ONLY_PULLED: App/runtime was only pulled into the local
* repository but not installed.