diff options
author | Richard Hughes <richard@hughsie.com> | 2016-01-17 19:39:42 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-01-17 19:39:44 +0000 |
commit | ad7396c84ba32ea7d5c47cfcd2a4ef661facaaa4 (patch) | |
tree | f424c43fd9fd2b2ab1ff86243ac3e95fc12362dc /libappstream-glib/as-utils.h | |
parent | 2394abeb8d3d797c9180a44199e654d0de9c0e56 (diff) | |
download | appstream-glib-ad7396c84ba32ea7d5c47cfcd2a4ef661facaaa4.tar.gz |
Move the blacklisted application list to the front-end client
At the moment the blacklist list is being used to filter applications that have
an AppData file, and also installed desktop files.
I agree it's wrong to filter applications with valid AppData files from the
metadata, and the various runtime blacklist entries are better suited to the
front-end application which can adjust it as the design dictates.
Diffstat (limited to 'libappstream-glib/as-utils.h')
-rw-r--r-- | libappstream-glib/as-utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libappstream-glib/as-utils.h b/libappstream-glib/as-utils.h index 93e4db4..e84c02f 100644 --- a/libappstream-glib/as-utils.h +++ b/libappstream-glib/as-utils.h @@ -142,7 +142,10 @@ gboolean as_utils_is_spdx_license_id (const gchar *license_id); gboolean as_utils_is_spdx_license (const gchar *license); gboolean as_utils_is_environment_id (const gchar *environment_id); gboolean as_utils_is_category_id (const gchar *category_id); + +G_DEPRECATED gboolean as_utils_is_blacklisted_id (const gchar *desktop_id); + gchar **as_utils_spdx_license_tokenize (const gchar *license); gchar *as_utils_spdx_license_detokenize (gchar **license_tokens); gchar *as_utils_license_to_spdx (const gchar *license); |