[gnome-software/wip/hughsie/cachekey: 27/28] fwupd: Do not support adopting
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/hughsie/cachekey: 27/28] fwupd: Do not support adopting
- Date: Mon, 1 Jul 2019 10:15:59 +0000 (UTC)
commit 71d6fd2fc3512e1bcc8b7ba8f282de39a12b1c29
Author: Richard Hughes <richard hughsie com>
Date: Mon Jul 1 10:46:54 2019 +0100
fwupd: Do not support adopting
This was never used as you can't create firmware apps using AppStream (it's not even linked in) and even
if you did the object would be of the wrong type.
plugins/fwupd/gs-plugin-fwupd.c | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/plugins/fwupd/gs-plugin-fwupd.c b/plugins/fwupd/gs-plugin-fwupd.c
index 457eca20..7d36ddea 100644
--- a/plugins/fwupd/gs-plugin-fwupd.c
+++ b/plugins/fwupd/gs-plugin-fwupd.c
@@ -114,13 +114,6 @@ gs_plugin_destroy (GsPlugin *plugin)
g_object_unref (priv->client);
}
-void
-gs_plugin_adopt_app (GsPlugin *plugin, GsApp *app)
-{
- if (gs_app_get_kind (app) == AS_APP_KIND_FIRMWARE)
- gs_app_set_management_plugin (app, gs_plugin_get_name (plugin));
-}
-
static void
gs_plugin_fwupd_changed_cb (FwupdClient *client, GsPlugin *plugin)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]