Skip to content

gtk: Add override for Gtk.CustomSorter.set_sort_func

Jean Felder requested to merge wip/jfelder/gtk4-sort-list-model into master

This function use CompareDataFunc which works with pointers and doesn't know anything about GObjects.

The same logic as in Gio.List.sort and Gio.List.insert_sorted is used.

An associated unit_test is also added.

Edited by Jean Felder

Merge request reports