tab-view: selected-page and pages model are updated out of sync causing correctness issues
The fix for #192 (closed) fixed a possible NULL :selected-page
property access, but created another significant issue in that now the GtkSelectionModel
is out of sync with the changes.
I think what needs to happen is to set the :selected-page
property without emitting, then notify of pages model change, and then finally emit the selected page change.
Fix incoming.