@grulja
Copy link
Contributor

grulja commented Apr 18, 2017

One cannot create custom Appstream::Component, e.g when manually parsing .flatpakref file where you can get homepage, title, description, comment, icon and so on. If you want to transform this into Appstream::Component you have to first use AsComponent (glib one), fill this with data and then construct new Appstream::Component and passing that AsComponent to the constructor.