[gnome-software] Get the kind from the app itself when uninstalling it in GsFlatpak



commit e21dba27217f1920ed85c3bdd35dbd7bbf6020ea
Author: Joaquim Rocha <jrocha endlessm com>
Date:   Thu Jun 9 21:03:54 2016 +0200

    Get the kind from the app itself when uninstalling it in GsFlatpak

 src/plugins/gs-flatpak.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 7353b6c..ea40bf0 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -1161,7 +1161,7 @@ gs_flatpak_app_remove (GsFlatpak *self,
        /* remove */
        gs_app_set_state (app, AS_APP_STATE_REMOVING);
        if (!flatpak_installation_uninstall (self->installation,
-                                            FLATPAK_REF_KIND_APP,
+                                            gs_app_get_flatpak_kind (app),
                                             gs_app_get_flatpak_name (app),
                                             gs_app_get_flatpak_arch (app),
                                             gs_app_get_flatpak_branch (app),


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