[gnome-software/wip/mcrha/fedora-third-party-followup] gs-app: Add GS_APP_QUIRK_DISTRO_SAFE



commit 579c12ed106c47ca0c9a220de33b1f83d7a2d94e
Author: Milan Crha <mcrha redhat com>
Date:   Wed Sep 22 08:44:17 2021 +0200

    gs-app: Add GS_APP_QUIRK_DISTRO_SAFE
    
    This will be used as a note for the code that the app is considered
    safe by the OS vendor.

 lib/gs-app.h | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/lib/gs-app.h b/lib/gs-app.h
index 58a6184fd..f7e73cfa4 100644
--- a/lib/gs-app.h
+++ b/lib/gs-app.h
@@ -142,6 +142,7 @@ typedef enum {
  * @GS_APP_QUIRK_HIDE_FROM_SEARCH:     The app should not be shown in search results
  * @GS_APP_QUIRK_HIDE_EVERYWHERE:      The app should not be shown anywhere (it’s blocklisted)
  * @GS_APP_QUIRK_DO_NOT_AUTO_UPDATE:   The app should not be automatically updated
+ * @GS_APP_QUIRK_DISTRO_SAFE:          The app is considered safe by the OS vendor (Since: 42)
  *
  * The application attributes.
  **/
@@ -165,6 +166,7 @@ typedef enum {
        GS_APP_QUIRK_HIDE_FROM_SEARCH   = 1 << 15,      /* Since: 3.32 */
        GS_APP_QUIRK_HIDE_EVERYWHERE    = 1 << 16,      /* Since: 3.36 */
        GS_APP_QUIRK_DO_NOT_AUTO_UPDATE = 1 << 17,      /* Since: 3.36 */
+       GS_APP_QUIRK_DISTRO_SAFE        = 1 << 18,      /* Since: 42 */
        GS_APP_QUIRK_LAST  /*< skip >*/
 } GsAppQuirk;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]