columnview: Clear the sorter first thing in dispose
authorBenjamin Otte <otte@redhat.com>
Fri, 3 Mar 2023 02:05:22 +0000 (03:05 +0100)
committerBenjamin Otte <otte.benjamin@googlemail.com>
Sun, 5 Mar 2023 15:23:20 +0000 (15:23 +0000)
commit882dcda53b51b10299896efe075d177e9df3458c
treea4cb1cbc50098a219debdb3abf463b151b9e1b1b
parentb488fae893ebba2a75f313dc6b9c1807e21225aa
columnview: Clear the sorter first thing in dispose

Otherwise, when removing the columns, each column will trigger a
sorter::changed signal emission.

And because sorters are often still connected to a sortlistmodel, we
can't skip that emission and need to do it.
But we only need to do it once.
gtk/gtkcolumnview.c