[gnome-software] trivial: SANDBOXED_SECURE implies SANDBOXED



commit 024bf0a07df1c460f90404586a46dc9507aef194
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 11 15:27:09 2016 +0100

    trivial: SANDBOXED_SECURE implies SANDBOXED

 src/gs-app.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-app.c b/src/gs-app.c
index 0c51de1..3bd60b3 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -2471,6 +2471,8 @@ void
 gs_app_add_kudo (GsApp *app, GsAppKudo kudo)
 {
        g_return_if_fail (GS_IS_APP (app));
+       if (kudo & GS_APP_KUDO_SANDBOXED_SECURE)
+               kudo |= GS_APP_KUDO_SANDBOXED;
        app->kudos |= kudo;
 }
 


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