[nautilus/wip/corey/fix-sort: 11/19] list-view: Stop adding NameCell child twice




commit 62d375898555f2199e98e28465197915e6efb850
Author: Corey Berla <corey berla me>
Date:   Tue Sep 27 08:21:09 2022 -0700

    list-view: Stop adding NameCell child twice
    
    The child of the list item is already set in
    setup_cell_common()

 src/nautilus-list-view.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index 032e3a9da..2715e7e0e 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -935,8 +935,6 @@ setup_name_cell (GtkSignalListItemFactory *factory,
         nautilus_name_cell_show_snippet (NAUTILUS_NAME_CELL (cell));
     }
 
-    gtk_list_item_set_child (listitem, GTK_WIDGET (cell));
-
     setup_selection_click_workaround (cell);
 }
 


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