[gnome-software] trivial: Remove an unused function
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Remove an unused function
- Date: Mon, 28 Nov 2016 09:16:48 +0000 (UTC)
commit eddf1beacc0144f3f1fe6a5d3c28f4d29a51a046
Author: Richard Hughes <richard hughsie com>
Date: Mon Nov 28 08:36:51 2016 +0000
trivial: Remove an unused function
src/gs-plugin-loader.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index aae41b9..a5dd958 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -1075,18 +1075,6 @@ gs_plugin_loader_app_is_non_compulsory (GsApp *app, gpointer user_data)
}
static gboolean
-gs_plugin_loader_app_is_non_installed (GsApp *app, gpointer user_data)
-{
- if (gs_app_get_state (app) == AS_APP_STATE_INSTALLED)
- return FALSE;
- if (gs_app_get_state (app) == AS_APP_STATE_UPDATABLE)
- return FALSE;
- if (gs_app_get_state (app) == AS_APP_STATE_UPDATABLE_LIVE)
- return FALSE;
- return TRUE;
-}
-
-static gboolean
gs_plugin_loader_get_app_is_compatible (GsApp *app, gpointer user_data)
{
GsPluginLoader *plugin_loader = GS_PLUGIN_LOADER (user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]