Move cleanup_fragments to vterowdata
@egmontkob
Submitted by Egmont Koblinger Link to original bug (#732030)
Description
Most of the time we call _vte_terminal_cleanup_fragments() right before a _vte_row_data_whatever().
It should probably be the _vte_row_data_whatever() methods to clean up tab fragments and hence guarantee consistency of their data.
(However, as long as we have direct access to its cells, the caller can still corrupt the data, it's not proper OO, which is not necessarily bad... but we should take a look whether it's feasible to move in this direction.
Another advantage would be that if vterowdata was only modifiable via methods, it'd know which cells to invalidate and could automatically take care of this too.)
Version: 0.37.x