listbox: Avoid a gtk_widget_destroy call
This commit is contained in:
@@ -3830,7 +3830,7 @@ gtk_list_box_bound_model_changed (GListModel *list,
|
||||
GtkListBoxRow *row;
|
||||
|
||||
row = gtk_list_box_get_row_at_index (box, position);
|
||||
gtk_widget_destroy (GTK_WIDGET (row));
|
||||
gtk_container_remove (GTK_CONTAINER (box), GTK_WIDGET (row));
|
||||
}
|
||||
|
||||
for (i = 0; i < added; i++)
|
||||
|
||||
Reference in New Issue
Block a user