summaryrefslogtreecommitdiff
path: root/libappstream-builder/plugins/asb-plugin-desktop.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-07-09 11:41:57 +0100
committerRichard Hughes <richard@hughsie.com>2014-07-09 11:41:57 +0100
commit12b00327b4fbe7c96f94bc8fac9beafa650a82b6 (patch)
tree43e9e405048261c52757f05c9c7c2f4f027f673c /libappstream-builder/plugins/asb-plugin-desktop.c
parentbd788b286174a06fd37a51442a13116324b7f678 (diff)
downloadappstream-glib-12b00327b4fbe7c96f94bc8fac9beafa650a82b6.tar.gz
trivial: Take the baseclass in asb_plugin_add_app()
We can't promise we've always got a AsbApp in the list.
Diffstat (limited to 'libappstream-builder/plugins/asb-plugin-desktop.c')
-rw-r--r--libappstream-builder/plugins/asb-plugin-desktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-desktop.c b/libappstream-builder/plugins/asb-plugin-desktop.c
index 33a4c24..9c54d96 100644
--- a/libappstream-builder/plugins/asb-plugin-desktop.c
+++ b/libappstream-builder/plugins/asb-plugin-desktop.c
@@ -256,7 +256,7 @@ asb_plugin_process_filename (AsbPlugin *plugin,
}
/* add */
- asb_plugin_add_app (apps, app);
+ asb_plugin_add_app (apps, AS_APP (app));
return TRUE;
}