diff options
author | Richard Hughes <richard@hughsie.com> | 2014-07-16 17:40:57 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-07-16 17:40:57 +0100 |
commit | a9c2e06700d260bacec6739ad8983733093f4c0d (patch) | |
tree | cabfa4eb391a787f8f8cdda3b7960dd348f52606 | |
parent | 6b3bb0817633954a9e546b58caf8643c0c8ceff4 (diff) | |
download | appstream-glib-a9c2e06700d260bacec6739ad8983733093f4c0d.tar.gz |
Do not warn if the AppData file duplicates the .desktop value
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-appdata.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-appdata.c b/libappstream-builder/plugins/asb-plugin-appdata.c index 573ab47..ca5472f 100644 --- a/libappstream-builder/plugins/asb-plugin-appdata.c +++ b/libappstream-builder/plugins/asb-plugin-appdata.c @@ -162,13 +162,8 @@ asb_plugin_appdata_log_overwrite (AsbApp *app, const gchar *new) { /* does the value already exist with this value */ - if (g_strcmp0 (old, new) == 0) { - asb_package_log (asb_app_get_package (app), - ASB_PACKAGE_LOG_LEVEL_WARNING, - "AppData %s=%s already set", - property_name, old); + if (g_strcmp0 (old, new) == 0) return; - } /* does the metadata exist with any value */ if (old != NULL) { |