diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-10-05 21:27:23 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-10-06 07:58:01 -0400 |
commit | 7698b4dd6321f7d1c94c237f765c57d0d3dff678 (patch) | |
tree | 87171b774a9de0dd950b54a5075a227ec41d3480 | |
parent | e532f2322bd4bc99c890409446585160558e5fb5 (diff) | |
download | gtk+-7698b4dd6321f7d1c94c237f765c57d0d3dff678.tar.gz |
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
-rw-r--r-- | gtk/gtktreelistrowsorter.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |