[gnome-software/wip/hughsie/no-global-cache] fixup! Do not use the global cache in the search provider



commit 7c9aaf9e734b49c9f20173857b64afc02604270f
Author: Kalev Lember <klember redhat com>
Date:   Fri Feb 23 11:59:00 2018 +0100

    fixup! Do not use the global cache in the search provider

 src/gs-shell-search-provider.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-shell-search-provider.c b/src/gs-shell-search-provider.c
index 11c6b134..4a9c7719 100644
--- a/src/gs-shell-search-provider.c
+++ b/src/gs-shell-search-provider.c
@@ -243,7 +243,7 @@ handle_get_result_metas (GsShellSearchProvider2     *skeleton,
        g_debug ("****** GetResultMetas");
 
        for (i = 0; results[i]; i++) {
-               g_autoptr(GsApp) app = NULL;
+               GsApp *app;
 
                /* already built */
                if (g_hash_table_lookup (self->metas_cache, results[i]) != NULL)


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