From 7698b4dd6321f7d1c94c237f765c57d0d3dff678 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 5 Oct 2020 21:27:23 -0400 Subject: treelistrowsorter: Add a bandaid The GtkTreeListRowSortKeys implementation doesn't know how it wants to cache its keys, and just crashes. Since that is not cool, add a bandaid fix that forces it to recreate its keys instead. Extra work, but hey, no crash. Related: #3228 --- gtk/gtktreelistrowsorter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtktreelistrowsorter.c b/gtk/gtktreelistrowsorter.c index 740a2ec17f..cf19296a93 100644 --- a/gtk/gtktreelistrowsorter.c +++ b/gtk/gtktreelistrowsorter.c @@ -210,6 +210,9 @@ gtk_tree_list_row_sort_keys_is_compatible (GtkSortKeys *keys, GtkTreeListRowSortKeys *self = (GtkTreeListRowSortKeys *) keys; GtkTreeListRowSortKeys *compare; + /* FIXME https://gitlab.gnome.org/GNOME/gtk/-/issues/3228 */ + return FALSE; + if (keys->klass != other->klass) return FALSE; -- cgit v1.2.1