[gnome-software: 13/24] gs-category-page: Drop a redundant remove_all() call




commit 8b48c39506a2c7d824d863e1ca766d9fee37c6de
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu Apr 22 14:49:27 2021 +0100

    gs-category-page: Drop a redundant remove_all() call
    
    `gs_category_page_reload()` does the same thing a few lines later.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 src/gs-category-page.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/gs-category-page.c b/src/gs-category-page.c
index 0207c78ee..e2145127e 100644
--- a/src/gs-category-page.c
+++ b/src/gs-category-page.c
@@ -256,8 +256,6 @@ gs_category_page_set_category (GsCategoryPage *self, GsCategory *category)
        self->category = g_object_ref (category);
 
        /* find apps in this group */
-       gs_container_remove_all (GTK_CONTAINER (self->category_detail_box));
-
        featured_subcat = gs_category_find_child (category, "featured");
        all_subcat = gs_category_find_child (category, "all");
 


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