[gnome-software] Only show compatible projects when getting the featured list



commit 79eaaec4e61373c5910f2c8bee3a673d0be0d86b
Author: Richard Hughes <richard hughsie com>
Date:   Mon Mar 2 15:23:42 2015 +0000

    Only show compatible projects when getting the featured list
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=745322

 src/gs-plugin-loader.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index ed1173a..5900fab 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -1415,6 +1415,7 @@ gs_plugin_loader_get_featured_thread_cb (GTask *task,
                gs_plugin_list_filter (&state->list, gs_plugin_loader_featured_debug, NULL);
        } else {
                gs_plugin_list_filter (&state->list, gs_plugin_loader_app_is_valid, NULL);
+               gs_plugin_list_filter (&state->list, gs_plugin_loader_get_app_is_compatible, plugin_loader);
                gs_plugin_list_randomize (&state->list);
        }
        if (state->list == NULL) {


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