summaryrefslogtreecommitdiff
path: root/libappstream-builder
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-09-18 11:41:55 +0100
committerRichard Hughes <richard@hughsie.com>2015-09-18 11:42:19 +0100
commitdad7259e912d928166bfdb4e65d480cbdea19571 (patch)
tree3b932b99f07e2d72271310400a543263614e91e4 /libappstream-builder
parent51ccde3a56103376007681c350fbb64c2422dbd5 (diff)
downloadappstream-glib-dad7259e912d928166bfdb4e65d480cbdea19571.tar.gz
Use a sensible warning when processing desktop files with NoDisplay=true
Diffstat (limited to 'libappstream-builder')
-rw-r--r--libappstream-builder/plugins/asb-plugin-desktop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-desktop.c b/libappstream-builder/plugins/asb-plugin-desktop.c
index 8340572..deeab2a 100644
--- a/libappstream-builder/plugins/asb-plugin-desktop.c
+++ b/libappstream-builder/plugins/asb-plugin-desktop.c
@@ -290,7 +290,8 @@ asb_plugin_desktop_refine (AsbPlugin *plugin,
GError **error)
{
AsIcon *icon;
- AsAppParseFlags parse_flags = AS_APP_PARSE_FLAG_USE_HEURISTICS;
+ AsAppParseFlags parse_flags = AS_APP_PARSE_FLAG_USE_HEURISTICS |
+ AS_APP_PARSE_FLAG_ALLOW_VETO;
gboolean ret;
g_autofree gchar *app_id = NULL;
g_autoptr(AsApp) desktop_app = NULL;