We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc9858f commit e0b01a5Copy full SHA for e0b01a5
examples/listbox_sort_stringlist/main.rs
@@ -42,7 +42,7 @@ fn build_ui(application: >k::Application) {
42
let model = gtk::StringList::new(&["zoo", "abba", "donkey", "sunrise", "river", "phoenix"]);
43
44
// Create a sort model and bind it to the ListStore and the sorter.
45
- let sort_model = gtk::SortListModel::new(Some(model.clone()), Some(sorter.clone()));
+ let sort_model = gtk::SortListModel::new(Some(model.clone()), Some(sorter));
46
47
// And then create the UI part, the listbox and bind the sort
48
// model to it. Whenever the UI needs to show a new row, e.g. because
0 commit comments