installation: nitpicks

Make the new _run_triggers function appear correctly in GtkDoc and cross-link.

Closes: #2164
Approved by: alexlarsson
This commit is contained in:
Robert McQueen
2018-10-01 17:24:06 +01:00
committed by Atomic Bot
parent 823511b87a
commit 8bd22682f7
3 changed files with 9 additions and 8 deletions

View File

@@ -1762,7 +1762,7 @@ flatpak_installation_install_full (FlatpakInstallation *self,
ostree_progress, cancellable, error))
goto out;
if ((flags & FLATPAK_INSTALL_FLAGS_NO_TRIGGERS) == 0 &&
if (!(flags & FLATPAK_INSTALL_FLAGS_NO_TRIGGERS) &&
g_str_has_prefix (ref, "app"))
flatpak_dir_run_triggers (dir_clone, cancellable, NULL);
@@ -1935,7 +1935,7 @@ flatpak_installation_update_full (FlatpakInstallation *self,
ostree_progress, cancellable, error))
goto out;
if ((flags & FLATPAK_UPDATE_FLAGS_NO_TRIGGERS) == 0 &&
if (!(flags & FLATPAK_UPDATE_FLAGS_NO_TRIGGERS) &&
g_str_has_prefix (ref, "app"))
flatpak_dir_run_triggers (dir_clone, cancellable, NULL);
@@ -2083,7 +2083,7 @@ flatpak_installation_uninstall_full (FlatpakInstallation *self,
cancellable, error))
return FALSE;
if ((flags & FLATPAK_UNINSTALL_FLAGS_NO_TRIGGERS) == 0 &&
if (!(flags & FLATPAK_UNINSTALL_FLAGS_NO_TRIGGERS) &&
g_str_has_prefix (ref, "app"))
flatpak_dir_run_triggers (dir_clone, cancellable, NULL);
@@ -2685,8 +2685,8 @@ flatpak_installation_prune_local_repo (FlatpakInstallation *self,
*
* Run the trigger commands to update the files exported by the apps in
* @self. Should be used after one or more app install, upgrade or
* uninstall operations with the #FLATPAK_INSTALL_FLAGS_NO_TRIGGERS,
* #FLATPAK_UPDATE_FLAGS_NO_TRIGGERS or #FLATPAK_UNINSTALL_FLAGS_NO_TRIGGERS
* uninstall operations with the %FLATPAK_INSTALL_FLAGS_NO_TRIGGERS,
* %FLATPAK_UPDATE_FLAGS_NO_TRIGGERS or %FLATPAK_UNINSTALL_FLAGS_NO_TRIGGERS
* flags set.
*
* Since: 1.0.3

View File

@@ -55,7 +55,7 @@ typedef struct
* @FLATPAK_UPDATE_FLAGS_NO_STATIC_DELTAS: Don't use static deltas when pulling
* @FLATPAK_UPDATE_FLAGS_NO_PRUNE: Don't prune the local OSTree repository after updating (Since: 0.11.8)
* @FLATPAK_UPDATE_FLAGS_NO_TRIGGERS: Don't call triggers after updating. If used,
* the caller must later call @flatpak_installation_run_triggers to update
* the caller must later call flatpak_installation_run_triggers() to update
* the exported files. (Since: 1.0.3)
*
* Flags to alter the behavior of flatpak_installation_update().
@@ -76,7 +76,7 @@ typedef enum {
* @FLATPAK_INSTALL_FLAGS_NO_DEPLOY: Don't install any new builds that might be fetched
* @FLATPAK_INSTALL_FLAGS_NO_PULL: Don't try to fetch new builds from the remote repo
* @FLATPAK_INSTALL_FLAGS_NO_TRIGGERS: Don't call triggers after installing. If used,
* the caller must later call @flatpak_installation_run_triggers to update
* the caller must later call flatpak_installation_run_triggers() to update
* the exported files. (Since: 1.0.3)
*
* Flags to alter the behavior of flatpak_installation_install_full().
@@ -94,7 +94,7 @@ typedef enum {
* @FLATPAK_UNINSTALL_FLAGS_NONE: Default
* @FLATPAK_UNINSTALL_FLAGS_NO_PRUNE: Don't prune the local OSTree repository after uninstalling
* @FLATPAK_UNINSTALL_FLAGS_NO_TRIGGERS: Don't call triggers after uninstalling. If used,
* the caller must later call @flatpak_installation_run_triggers to update
* the caller must later call flatpak_installation_run_triggers() to update
* the exported file. (Since: 1.0.3)
*
* Flags to alter the behavior of flatpak_installation_uninstall_full().

View File

@@ -48,6 +48,7 @@ flatpak_installation_prune_local_repo
flatpak_installation_remove_local_ref_sync
flatpak_installation_set_config_sync
flatpak_installation_update_appstream_full_sync
flatpak_installation_run_triggers
flatpak_get_default_arch
flatpak_get_supported_arches
flatpak_get_system_installations