summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-03-31 17:24:28 +0100
committerRichard Hughes <richard@hughsie.com>2015-04-02 08:57:29 +0100
commitedae598484a5f33fd1220fd69a9ff37d7528454e (patch)
tree34453780d438dc20422cb1f50dd14a86d478f25a
parentcdee74d2335675eb3519a361d015553068179d44 (diff)
downloadappstream-glib-edae598484a5f33fd1220fd69a9ff37d7528454e.tar.gz
No longer set PaddedIcon
It's no longer used in the status html page.
-rw-r--r--libappstream-builder/asb-self-test.c3
-rw-r--r--libappstream-builder/plugins/asb-plugin-desktop.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/libappstream-builder/asb-self-test.c b/libappstream-builder/asb-self-test.c
index 8fdd1e4..2f2a037 100644
--- a/libappstream-builder/asb-self-test.c
+++ b/libappstream-builder/asb-self-test.c
@@ -533,7 +533,6 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<lang percentage=\"33\">ru</lang>\n"
"</languages>\n"
"<metadata>\n"
- "<value key=\"PaddedIcon\">48x48</value>\n"
"<value key=\"X-CacheID\">app-1-1.fc21.x86_64.rpm</value>\n"
"</metadata>\n"
"</component>\n"
@@ -696,7 +695,6 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<lang percentage=\"33\">ru</lang>\n"
"</languages>\n"
"<metadata>\n"
- "<value key=\"PaddedIcon\">48x48</value>\n"
"<value key=\"X-CacheID\">app-console-1-1.fc21.noarch.rpm</value>\n"
"</metadata>\n"
"</component>\n"
@@ -726,7 +724,6 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<lang percentage=\"33\">ru</lang>\n"
"</languages>\n"
"<metadata>\n"
- "<value key=\"PaddedIcon\">48x48</value>\n"
"<value key=\"X-CacheID\">app-console-1-1.fc21.noarch.rpm</value>\n"
"</metadata>\n"
"</component>\n"
diff --git a/libappstream-builder/plugins/asb-plugin-desktop.c b/libappstream-builder/plugins/asb-plugin-desktop.c
index 44da4fa..cf6ac07 100644
--- a/libappstream-builder/plugins/asb-plugin-desktop.c
+++ b/libappstream-builder/plugins/asb-plugin-desktop.c
@@ -138,8 +138,6 @@ asb_app_load_icon (AsbApp *app,
size_str = g_strdup_printf ("%ix%i",
pixbuf_width,
pixbuf_height);
- as_app_add_metadata (AS_APP (app), "PaddedIcon",
- size_str, -1);
asb_package_log (asb_app_get_package (app),
ASB_PACKAGE_LOG_LEVEL_INFO,
"icon %s padded to %ix%i as size %s",