[gnome-software/wip/hughsie/fwupd-unlock: 2/3] trivial: Fix a warning when listing installed xdg-app runtimes



commit c4d00805968a019652b850fdf01b76562ac4aea1
Author: Richard Hughes <richard hughsie com>
Date:   Mon Feb 29 11:53:24 2016 +0000

    trivial: Fix a warning when listing installed xdg-app runtimes

 src/plugins/gs-plugin-xdg-app.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-xdg-app.c b/src/plugins/gs-plugin-xdg-app.c
index b2fa374..6b90e5b 100644
--- a/src/plugins/gs-plugin-xdg-app.c
+++ b/src/plugins/gs-plugin-xdg-app.c
@@ -399,7 +399,6 @@ gs_plugin_xdg_app_create_installed (GsPlugin *plugin,
        /* create new object */
        id = gs_plugin_xdg_app_build_id (XDG_APP_REF (xref));
        app = gs_app_new (id);
-       gs_app_set_kind (app, AS_APP_KIND_DESKTOP);
        gs_plugin_xdg_app_set_metadata_installed (app, xref);
 
        switch (xdg_app_ref_get_kind (XDG_APP_REF(xref))) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]